add tags to roles in playbooks; scope vaults
This commit is contained in:
parent
782755b4a3
commit
152e88bc77
@ -1,13 +1,15 @@
|
|||||||
---
|
---
|
||||||
- hosts: nbgw
|
- hosts: nbgw
|
||||||
vars_files:
|
|
||||||
- ../group_vars/all/vault_common.yml
|
|
||||||
- ../host_vars/nbgw.yml
|
|
||||||
roles:
|
roles:
|
||||||
- common
|
- role: common
|
||||||
|
vars_files:
|
||||||
|
- ../group_vars/all/vault_common.yml
|
||||||
|
tags: [common]
|
||||||
- netbird
|
- netbird
|
||||||
- role: pkg
|
- role: pkg
|
||||||
vars:
|
vars:
|
||||||
pkgs_to_install: "{{ nbgw.pkgs.install }}"
|
pkgs_to_install: "{{ nbgw.pkgs.install }}"
|
||||||
- headscale
|
tags: [pkg]
|
||||||
|
- role: headscale
|
||||||
|
tags: [headscale]
|
||||||
...
|
...
|
||||||
|
@ -6,5 +6,7 @@
|
|||||||
- role: user
|
- role: user
|
||||||
vars:
|
vars:
|
||||||
user: "{{ users.testpcmt }}"
|
user: "{{ users.testpcmt }}"
|
||||||
- gitea
|
tags: [user]
|
||||||
|
- role: gitea
|
||||||
|
tags: [gitea]
|
||||||
...
|
...
|
||||||
|
@ -3,12 +3,17 @@
|
|||||||
# connection: local
|
# connection: local
|
||||||
vars_files:
|
vars_files:
|
||||||
- nothingatall
|
- nothingatall
|
||||||
- ../group_vars/all/vault_common.yml
|
|
||||||
- ../group_vars/surtur/vault_surtur.yml
|
- ../group_vars/surtur/vault_surtur.yml
|
||||||
roles:
|
roles:
|
||||||
- common
|
- role: common
|
||||||
|
tags: [common]
|
||||||
|
vars_files:
|
||||||
|
- ../group_vars/all/vault_common.yml
|
||||||
# - rand
|
# - rand
|
||||||
- configs
|
- role: configs
|
||||||
- flathub
|
tags: [configs]
|
||||||
|
- role: flathub
|
||||||
|
tags: [flathub]
|
||||||
- role: tailscale
|
- role: tailscale
|
||||||
become: true
|
become: true
|
||||||
|
tags: [tailscale]
|
||||||
|
Loading…
Reference in New Issue
Block a user