Houesekeeping (#59)
* Variablen von Docker Playbook zu Docker Vars verschoben * Variablen nickyjj.ansible-user aus Playbook entfernt, Rolle wird hier nicht verwendet
This commit is contained in:
parent
a373bfa693
commit
9e68f1b61c
3 changed files with 5 additions and 13 deletions
|
@ -14,3 +14,8 @@
|
||||||
comment: 'alles erlauben'
|
comment: 'alles erlauben'
|
||||||
### mgrote.create_users
|
### mgrote.create_users
|
||||||
create_user_groups: 'sudo, ssh, docker'
|
create_user_groups: 'sudo, ssh, docker'
|
||||||
|
### geerlingguy.docker
|
||||||
|
docker_users:
|
||||||
|
- mg
|
||||||
|
- root
|
||||||
|
- ansible-user
|
||||||
|
|
|
@ -3,10 +3,3 @@
|
||||||
roles:
|
roles:
|
||||||
- { role: mgrote.create_users, tags: "user", become: yes }
|
- { role: mgrote.create_users, tags: "user", become: yes }
|
||||||
- { role: mgrote.deploy_ssh_keys, tags: "ssh", become: yes }
|
- { role: mgrote.deploy_ssh_keys, tags: "ssh", become: yes }
|
||||||
|
|
||||||
vars:
|
|
||||||
### fuer rolle nickjj.ansible-user
|
|
||||||
user_name: "mg"
|
|
||||||
user_generate_ssh_key: true
|
|
||||||
user_local_ssh_key_path: "~/.ssh/id_rsa.pub"
|
|
||||||
user_enable_passwordless_sudo: True
|
|
||||||
|
|
|
@ -10,9 +10,3 @@
|
||||||
# repo: 'https://github.com/quotengrote/docker' # noqa 401 401 502 502
|
# repo: 'https://github.com/quotengrote/docker' # noqa 401 401 502 502
|
||||||
# dest: /home/mg/docker
|
# dest: /home/mg/docker
|
||||||
# become: yes
|
# become: yes
|
||||||
|
|
||||||
vars:
|
|
||||||
docker_users:
|
|
||||||
- mg
|
|
||||||
- root
|
|
||||||
- ansible-user
|
|
||||||
|
|
Loading…
Reference in a new issue