feat: initial commit
This commit is contained in:
parent
f23023d863
commit
a28b2084c7
10 changed files with 136 additions and 93 deletions
24
playbook.yaml
Normal file
24
playbook.yaml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
|
||||
# execute role
|
||||
- name: "execute roles: common and zabbix_agent"
|
||||
hosts: "all"
|
||||
become: true
|
||||
tasks:
|
||||
|
||||
# due to semaphore bug we need to do this ourselves
|
||||
- name: "force-update requirements"
|
||||
ansible.builtin.command:
|
||||
cmd: "ansible-galaxy install -f -r roles/requirements.yml"
|
||||
become: false
|
||||
delegate_to: "localhost"
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
|
||||
- name: "import role: common"
|
||||
ansible.builtin.import_role:
|
||||
name: "common"
|
||||
|
||||
- name: "import role: zabbix_agent"
|
||||
ansible.builtin.import_role:
|
||||
name: "zabbix_agent"
|
||||
Loading…
Add table
Add a link
Reference in a new issue