Skip to content
This repository has been archived by the owner on Oct 12, 2019. It is now read-only.

Commit

Permalink
Fix validity errors in file
Browse files Browse the repository at this point in the history
Minor capitalisation issue and a couple of logic fails. Fortunately they didn't
affect anything but would have on clean servers.
  • Loading branch information
goetzk committed Mar 2, 2017
1 parent 6374703 commit b45b93f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tasks/install-shinken-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,20 @@
state: present

- name: Install build dependencies for pycurl
when: shinken_install_from == "pip"
when: ansible_os_family == "Debian"
when: shinken_install_from == "pip" and ansible_os_family == "Debian"
package:
name: "{{ shinken_pycurl_build_deps }}"
state: present


- name: Install runtime dependencies where required
when: ansible_os_family == "Redhat"
when: ansible_os_family == "RedHat"
package:
name: redhat-lsb-core
state: present

- name: Install pycurl using pip
when: shinken_install_from == "pip"
when: ansible_os_family == "Debian"
when: shinken_install_from == "pip" and ansible_os_family == "Debian"
pip:
name: pycurl
version: 7.43.0
Expand Down

0 comments on commit b45b93f

Please sign in to comment.