diff options
| author | Kumar Damani <me@kumardamani.net> | 2025-06-30 19:12:45 +0000 |
|---|---|---|
| committer | Kumar Damani <me@kumardamani.net> | 2025-06-30 19:12:45 +0000 |
| commit | d54a1eb92f021a9a6e7f71c1c46202df89b96e2a (patch) | |
| tree | de66041cd1114ffad57e4eecfe560ff8ce477e09 /ansible | |
| parent | 185d3387029d8664459ae67e32ede34b50b1ff2f (diff) | |
using tags at the playbook level
Diffstat (limited to 'ansible')
| -rw-r--r-- | ansible/playbooks/init.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ansible/playbooks/init.yaml b/ansible/playbooks/init.yaml index f8923e5..0b8d58e 100644 --- a/ansible/playbooks/init.yaml +++ b/ansible/playbooks/init.yaml @@ -3,6 +3,7 @@ # ansible-playbook -u root -i 'hosts' --vault-id vaultkey playbooks/init.yaml --tags=vault - name: 'Deploy Vault' hosts: 'vault' + tags: ["never", "vault"] gather_facts: false roles: - role: 'base' @@ -17,6 +18,7 @@ # ansible-playbook -u root -i 'hosts' --vault-id vaultkey playbooks/init.yaml --tags=torrents - name: 'Deploy Transmission' hosts: 'torrents' + tags: ["never", "torrents"] gather_facts: false roles: - role: 'base' @@ -33,6 +35,7 @@ # ansible-playbook -u root -i 'hosts' --vault-id vaultkey playbooks/init.yaml --tags=med_dl - name: 'Deploy Media Downloaders' hosts: 'med-dl' + tags: ["never", "med_dl"] gather_facts: false roles: - role: 'base' @@ -83,6 +86,7 @@ # ansible-playbook -u root -i 'hosts' --vault-id vaultkey playbooks/init.yaml --tags=plex - name: 'Deploy Plex' hosts: 'plex' + tags: ["never", "plex"] gather_facts: false roles: - role: 'base' @@ -93,6 +97,7 @@ # ansible-playbook -u root -i 'hosts' --vault-id vaultkey playbooks/init.yaml --tags=monitoring - name: 'Deploy Prometheus' hosts: 'monitoring' + tags: ["never", "monitoring"] gather_facts: false roles: - role: 'base' |
