Skip to content

Commit

Permalink
Fixed pkgin install zabbix-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
dn0 committed Apr 4, 2017
1 parent 010a2f2 commit d9386cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ansible/roles/zabbix-agent/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
when: ansible_distribution == "CentOS"

- name: Install Zabbix agent (SmartOS)
pkgin: name=zabbix-agent state=present
shell: pkgin -y install zabbix-agent
register: res
changed_when: "'nothing to do.' not in res.stdout"
when: ansible_distribution == "SmartOS"

- name: Create Zabbix agent configuration file
Expand Down

0 comments on commit d9386cd

Please sign in to comment.