Skip to content

robl-25/work-playbooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

work-playbooks

Playbooks to install packages for work

Prerequisites

You just need ansible installed. You can use For new systems section or ansible documentation to install it.

How to use

First, you need to create a main file. This file will have all playbooks that you want to run. You can use this file main.yml.example. There we have all playbooks in this repository. Then, just remove the ones you don't want. To run use ansible-playbook main.yml -e ansible_become_password=<YOUR_ROOT_PASSWORD>.

Playbooks documentation:

For new systems

Sudoers Group

Debian

For default debian doesn't include your user in sudoers group. To include, first login as root. Then type sudo usermod -aG sudo <username>.

Fedora

On Fedora, it is the wheel group the user has to be added to, as this group has full admin privileges. You can run sudo usermod -aG wheel <username>. If this doesn't work, you may have to edit the /etc/sudoers file to uncomment the line with the group name:

...
%wheel ALL=(ALL) ALL
...

You will need to logout and back in for changes to take effect.

Debian Repository

If your instalation is old, you can just update the repositories to get new version of the packages. For new versions edit /etc/apt/sources.list with:

deb http://deb.debian.org/debian/ testing main non-free contrib
deb-src http://deb.debian.org/debian/ testing main non-free contrib

deb http://security.debian.org/debian-security stable/updates main contrib non-free
deb-src http://security.debian.org/debian-security stable/updates main contrib non-free

# stable-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ stable-updates main contrib non-free
deb-src http://deb.debian.org/debian/ stable-updates main contrib non-free

Install git

To install git use sudo apt install git-all

Install Ansible

Install ansible under python3. More information look here. sudo pip3 install ansible

About

Playbooks to install packages for work

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages