Update playbooks/zabbix.yml
This commit is contained in:
parent
3cd4148678
commit
d7d3e956c2
1 changed files with 1 additions and 6 deletions
|
|
@ -12,17 +12,12 @@
|
|||
grafana_secret: "{{ lookup('ansible.builtin.password', '/dev/null', length=32, chars=['ascii_letters', 'digits']) }}"
|
||||
when: not env_file.stat.exists
|
||||
|
||||
- name: Create parent directory
|
||||
ansible.builtin.file:
|
||||
path: /opt/stacks
|
||||
state: directory
|
||||
mode: '0755'
|
||||
|
||||
- name: Create stack directory
|
||||
ansible.builtin.file:
|
||||
path: /opt/stacks/zabbix
|
||||
state: directory
|
||||
mode: '0755'
|
||||
recurse: yes
|
||||
|
||||
- name: Write .env file (only if it didn't exist)
|
||||
ansible.builtin.copy:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue