feat(role): add provisioner role
This commit is contained in:
parent
b22b39c92b
commit
1b3e0c401c
15 changed files with 181 additions and 4 deletions
|
@ -1,4 +1,21 @@
|
|||
---
|
||||
- name: setup provisioners
|
||||
hosts: internal:&provisioner
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: include provisioner role
|
||||
include_role:
|
||||
name: nullified.infrastructure.provisioner
|
||||
|
||||
- name: load provisioner facts
|
||||
hosts: internal
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: include provisioner role
|
||||
include_role:
|
||||
name: nullified.infrastructure.provisioner
|
||||
tasks_from: load_facts.yml
|
||||
|
||||
- name: setup internal infrastructure
|
||||
hosts: internal
|
||||
gather_facts: false
|
||||
|
|
7
playbooks/provisioner.yml
Normal file
7
playbooks/provisioner.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
- name: setup local provisioner
|
||||
hosts: provisioner
|
||||
tasks:
|
||||
- name: include provisioner role
|
||||
ansible.builtin.include_role:
|
||||
name: nullified.infrastructure.provisioner
|
Loading…
Add table
Add a link
Reference in a new issue