created roles and playbooks for schreinerei och.
This commit is contained in:
26
roles/common/readme.md
Normal file
26
roles/common/readme.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# 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
|
||||
1. 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
|
||||
2. Enter the hostname of your server/client
|
||||
3. run the playbook
|
||||
4. remove the server/client from the inventory group
|
||||
5. 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:
|
||||
Reference in New Issue
Block a user