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 committed by Gitea
parent 70dff33044
commit 964a6c0793
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"