mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
'when: X #' -> 'when: X | bool #' for Ansible 2.8
This commit is contained in:
parent
9543a10d82
commit
2bed0c9404
2 changed files with 2 additions and 2 deletions
|
@ -168,7 +168,7 @@
|
|||
# service:
|
||||
# name: "{{ apache_service }}"
|
||||
# state: restarted
|
||||
## when: nextcloud_enabled # taken care of by nextcloud_enabled.yml below
|
||||
## when: nextcloud_enabled | bool # taken care of by nextcloud_enabled.yml below
|
||||
# when: not nextcloud_enabled
|
||||
|
||||
# Enables or disable Nextcloud!
|
||||
|
|
|
@ -116,7 +116,7 @@
|
|||
args:
|
||||
chdir: "{{ iiab_base }}/sugarizer-server"
|
||||
#creates: "{{ iiab_base }}/sugarizer-server/node_modules" # OLD WAY 2
|
||||
when: internet_available # "npm install" generally requires Internet access
|
||||
when: internet_available | bool # "npm install" generally requires Internet access
|
||||
# when: internet_available and git_sug_server_output.changed # OLD WAY 3
|
||||
# when: internet_available and not is_F18 and not node_modules_exists # OLD WAY 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue