Skip to content

Commit

Permalink
Updated conditional check syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Dyson committed Jun 8, 2016
1 parent 6b2c923 commit bd0045b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tasks/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
group: 'root'
mode: '0644'
notify: 'restart php-fpm'
when: '{{ php_fpm_conf_template | default(None) == None }}'
when: '{{ php_fpm_conf_template | default(None) != None }}'

- name: 'PHP | Configure properties in PHP ini file.'
become: yes
Expand Down
2 changes: 1 addition & 1 deletion tasks/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
apt_repository:
repo: '{{ php_ppa }}'
update_cache: yes
when: '{{ ansible_os_family == "Debian" and php_ppa }}'
when: '{{ ansible_os_family == "Debian" and php_ppa | default(None) != None }}'

- name: 'PHP | RedHat | Install repositories.'
become: yes
Expand Down

0 comments on commit bd0045b

Please sign in to comment.