Add some more useful ansible tags

- do-full-system-upgrade
- setup-users
- install-base-packages
This commit is contained in:
Jesper Hess 2022-07-15 17:34:27 +02:00
parent cbe059f240
commit 065b76de47
Signed by untrusted user: graffen
GPG key ID: 351A89E40D763F0F
3 changed files with 5 additions and 0 deletions

View file

@ -19,3 +19,4 @@
packages:
- docker
- docker-compose
tags: install-base-packages

View file

@ -3,3 +3,4 @@
apt:
update_cache: yes
upgrade: full
tags: "do-full-system-upgrade"

View file

@ -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"