Add some more useful ansible tags
- do-full-system-upgrade - setup-users - install-base-packages
This commit is contained in:
parent
70dff33044
commit
964a6c0793
|
@ -19,3 +19,4 @@
|
|||
packages:
|
||||
- docker
|
||||
- docker-compose
|
||||
tags: install-base-packages
|
||||
|
|
|
@ -3,3 +3,4 @@
|
|||
apt:
|
||||
update_cache: yes
|
||||
upgrade: full
|
||||
tags: "do-full-system-upgrade"
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
update_password: "on_create"
|
||||
groups: "{{ item.groups }}"
|
||||
loop: "{{ users | default([]) }}"
|
||||
tags: "setup-users"
|
||||
|
||||
- name: "Add ssh authorized_keys"
|
||||
authorized_key:
|
||||
|
@ -15,6 +16,7 @@
|
|||
with_subelements:
|
||||
- "{{ users | default([]) }}"
|
||||
- keys
|
||||
tags: "setup-users"
|
||||
|
||||
- name: "Add ssh authorized_keys to root user"
|
||||
authorized_key:
|
||||
|
@ -23,3 +25,4 @@
|
|||
with_subelements:
|
||||
- "{{ users | default([]) }}"
|
||||
- keys
|
||||
tags: "setup-users"
|
||||
|
|
Loading…
Reference in a new issue