chore(playbooks): update external playbook to load provisioners facts and add tags

This commit is contained in:
NaeiKinDus 2024-08-08 00:00:00 +00:00
parent dcb3b887f9
commit ae79544b95
Signed by: WoodSmellParticle
GPG key ID: 8E52ADFF7CA8AE56

View file

@ -1,4 +1,16 @@
---
- name: load provisioner facts
hosts: external
gather_facts: false
tasks:
- name: include provisioner role
ansible.builtin.include_role:
name: nullified.infrastructure.provisioner
tasks_from: load_facts.yml
apply:
tags: [always]
tags: [always]
- name: setup external infrastructure
hosts: external
gather_facts: false
@ -6,9 +18,15 @@
- name: include security role
ansible.builtin.include_role:
name: nullified.infrastructure.security
apply:
tags: [security]
tags: [security, firewall]
- name: include common role
ansible.builtin.include_role:
name: nullified.infrastructure.common
apply:
tags: [common]
tags: [common]
- name: setup servers
hosts: external:&server
@ -16,3 +34,6 @@
- name: include server role
ansible.builtin.include_role:
name: nullified.infrastructure.server
apply:
tags: [server]
tags: [server]