add tags to roles in playbooks; scope vaults

This commit is contained in:
surtur 2023-08-01 22:34:57 +02:00
parent 782755b4a3
commit 152e88bc77
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI
3 changed files with 19 additions and 10 deletions

@ -1,13 +1,15 @@
---
- hosts: nbgw
vars_files:
- ../group_vars/all/vault_common.yml
- ../host_vars/nbgw.yml
roles:
- common
- role: common
vars_files:
- ../group_vars/all/vault_common.yml
tags: [common]
- netbird
- role: pkg
vars:
pkgs_to_install: "{{ nbgw.pkgs.install }}"
- headscale
tags: [pkg]
- role: headscale
tags: [headscale]
...

@ -6,5 +6,7 @@
- role: user
vars:
user: "{{ users.testpcmt }}"
- gitea
tags: [user]
- role: gitea
tags: [gitea]
...

@ -3,12 +3,17 @@
# connection: local
vars_files:
- nothingatall
- ../group_vars/all/vault_common.yml
- ../group_vars/surtur/vault_surtur.yml
roles:
- common
- role: common
tags: [common]
vars_files:
- ../group_vars/all/vault_common.yml
# - rand
- configs
- flathub
- role: configs
tags: [configs]
- role: flathub
tags: [flathub]
- role: tailscale
become: true
tags: [tailscale]