1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

'when: X' -> 'when: X | bool' for Ansibl 2.8

This commit is contained in:
holta 2019-05-24 18:33:10 -04:00
parent 176abdd2f5
commit 3a1ccf3638
89 changed files with 248 additions and 248 deletions

View file

@ -18,7 +18,7 @@
# mbstring is now included in php-cli
- php{{ php_version }}-cli
state: present
when: is_debuntu
when: is_debuntu | bool
- name: "Install package: php{{ php_version }}-zip (ubuntu or debian-9+)"
package:
@ -28,7 +28,7 @@
- name: "Install package: php-pclzip (debian-8)"
package:
name: php-pclzip
when: is_debian_8
when: is_debian_8 | bool
- name: Determine if Moodle is already downloaded
stat:
@ -80,7 +80,7 @@
owner: root
group: root
mode: 0644
when: moodle_enabled
when: moodle_enabled | bool
- name: Create symlink 022-moodle.conf from sites-enabled to sites-available, if moodle_enabled (debuntu)
file:
@ -131,7 +131,7 @@
name: postgresql-iiab
state: restarted
enabled: yes
when: moodle_enabled
when: moodle_enabled | bool
- name: Restart Apache service ({{ apache_service }})
service: