Skip to content
Snippets Groups Projects
Commit 25703779 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#85 Linting

parent 46f6f706
Branches
No related tags found
No related merge requests found
---
zabbix_agent_url: http://repo.zabbix.com/zabbix/3.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.0-1+xenial_all.deb zabbix_agent_url: http://repo.zabbix.com/zabbix/3.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.0-1+xenial_all.deb
zabbix_agent_logfile_size: 0 zabbix_agent_logfile_size: 0
...@@ -6,8 +8,8 @@ zabbix_agent_server_active: 127.0.0.1 ...@@ -6,8 +8,8 @@ zabbix_agent_server_active: 127.0.0.1
zabbix_agent_hostname: Zabbix server zabbix_agent_hostname: Zabbix server
zabbix_tls_connect: unencrypted zabbix_tls_connect: unencrypted
zabbix_tls_accept: unencrypted zabbix_tls_accept: unencrypted
zabbix_tls_psk_identity: zabbix_tls_psk_identity: ''
zabbix_tls_psk_file: zabbix_tls_psk_file: ''
zabbix_agent_userparameter: zabbix_agent_userparameter:
mysql: mysql:
......
...@@ -9,20 +9,20 @@ ...@@ -9,20 +9,20 @@
- block: - block:
- name: Check availability of Zabbix - name: Check availability of Zabbix
stat: stat:
path: /etc/init.d/zabbix-agent path: /etc/init.d/zabbix-agent
register: zabbix_available register: zabbix_available
- import_tasks: install.yml - import_tasks: install.yml
when: not zabbix_available.stat.exists when: not zabbix_available.stat.exists
- import_tasks: config.yml - import_tasks: config.yml
- name: Remember that this role had been run - name: Remember that this role had been run
set_fact: set_fact:
role_zabbix_agent_completed: yes role_zabbix_agent_completed: yes
tags: tags:
- always - always
when: not excluded_roles or "zabbix_agent" not in excluded_roles and role_zabbix_agent_completed is not defined when: not excluded_roles or "zabbix_agent" not in excluded_roles and role_zabbix_agent_completed is not defined
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment