move tags into main.yml instead
This commit is contained in:
parent
964a6c0793
commit
c6a3cb5150
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
@ -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]
|
||||
|
||||
|
|
|
@ -3,4 +3,3 @@
|
|||
apt:
|
||||
update_cache: yes
|
||||
upgrade: full
|
||||
tags: "do-full-system-upgrade"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue