move tags into main.yml instead

This commit is contained in:
Jesper Hess 2022-07-15 18:03:40 +02:00 committed by Gitea
parent 964a6c0793
commit c6a3cb5150
5 changed files with 5 additions and 8 deletions

View file

@ -10,7 +10,6 @@
- haveged
- mosh
- srvadmin-all # Dell OpenManage
tags: install-base-packages
- name: Install necessary packages via pip
pip:
@ -19,4 +18,3 @@
packages:
- docker
- docker-compose
tags: install-base-packages

View file

@ -3,9 +3,8 @@
apt_repository:
repo: "deb https://linux.dell.com/repo/community/openmanage/10101/focal focal main"
state: "present"
tags: setup-custom-apt
- name: update apt cache
apt:
update_cache: yes
tags: setup-custom-apt

View file

@ -1,6 +1,10 @@
---
- import_tasks: custom-apt-repos.yml
tags: [setup-custom-apt]
- import_tasks: upgrade.yml
tags: [do-full-system-upgrade]
- import_tasks: base.yml
tags: [install-base-packages]
- import_tasks: users.yml
tags: [setup-users]

View file

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

View file

@ -7,7 +7,6 @@
update_password: "on_create"
groups: "{{ item.groups }}"
loop: "{{ users | default([]) }}"
tags: "setup-users"
- name: "Add ssh authorized_keys"
authorized_key:
@ -16,7 +15,6 @@
with_subelements:
- "{{ users | default([]) }}"
- keys
tags: "setup-users"
- name: "Add ssh authorized_keys to root user"
authorized_key:
@ -25,4 +23,3 @@
with_subelements:
- "{{ users | default([]) }}"
- keys
tags: "setup-users"