This repository has been archived on 2026-03-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ansible/roles/common/readme.md

26 lines
986 B
Markdown
Raw Normal View History

# 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: