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:
parent
176abdd2f5
commit
3a1ccf3638
89 changed files with 248 additions and 248 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue