Readme
general information
This role is created to give each host the exact same roleout of apps, services and users.
on the first run
on the first run you have to execute the playbook "common_first.yml" This HAS TO BE DONE so that all users and ssh-keys are deployed so you can administrate the server effectively.
set the following for the first run
- Create inventory group 'common_first' - also check that your hosts are reachable via network. If they are reachable via external, dont forget to set your ansible_port
- Enter the hostname of your server/client
- run the playbook
- remove the server/client from the inventory group
- reboot the server/client so the hostname is overwritten
(host)vars for first run
host_vars_init_ssh_user: host_vars_init_ssh_pass: ansible_port:
every linux pc has an initial user that is created on setup. Be sure to set those variables correctly
variables for common role
group vars
group_vars_ssh_users: