feat: add playbook file for local execution
This commit is contained in:
parent
7db1dd350a
commit
edf2f479b8
2 changed files with 17 additions and 1 deletions
|
|
@ -5,4 +5,8 @@ galaxy_info:
|
||||||
description: "install and configure a Zabbix Agent"
|
description: "install and configure a Zabbix Agent"
|
||||||
license: "MIT"
|
license: "MIT"
|
||||||
role_name: "zabbix_agent"
|
role_name: "zabbix_agent"
|
||||||
dependencies: []
|
|
||||||
|
dependencies:
|
||||||
|
- name: "ans-zabbix-prereq"
|
||||||
|
src: "https://gitlab.simoncor.net/ansible/ans-zabbix-prereq.git"
|
||||||
|
scm: "git"
|
||||||
|
|
|
||||||
12
playbook.yaml
Normal file
12
playbook.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
# execute this role
|
||||||
|
- name: "install and configure the Zabbix Agent"
|
||||||
|
hosts: "all"
|
||||||
|
become: true
|
||||||
|
tasks:
|
||||||
|
|
||||||
|
# execute role
|
||||||
|
- name: "install and configure the Zabbix Agent"
|
||||||
|
ansible.builtin.include_role:
|
||||||
|
name: "."
|
||||||
Loading…
Add table
Add a link
Reference in a new issue