mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Remove "| bool" 1.5yrs later, as Ansible 2.10 changed conditional_bare_variables default
This commit is contained in:
parent
2968a8a20e
commit
ca171fbc1c
158 changed files with 2072 additions and 2072 deletions
|
|
@ -9,7 +9,7 @@
|
|||
url: "{{ nextcloud_dl_url }}/{{ nextcloud_orig_src_file }}"
|
||||
dest: "{{ downloads_dir }}/{{ nextcloud_src_file }}"
|
||||
timeout: "{{ download_timeout }}"
|
||||
when: internet_available | bool
|
||||
when: internet_available
|
||||
|
||||
- name: Copy it to permanent location /opt
|
||||
unarchive:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
- name: Enable http://box{{ nextcloud_url }} via Apache # http://box/nextcloud
|
||||
command: a2ensite nextcloud.conf
|
||||
when: nextcloud_enabled | bool
|
||||
when: nextcloud_enabled
|
||||
|
||||
- name: Disable http://box{{ nextcloud_url }} via Apache # http://box/nextcloud
|
||||
command: a2dissite nextcloud.conf
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
- name: Enable/Disable/Restart NGINX if primary
|
||||
include_tasks: nginx.yml
|
||||
when: nginx_enabled | bool
|
||||
when: nginx_enabled
|
||||
|
||||
|
||||
- name: Add 'nextcloud' variable values to {{ iiab_ini_file }}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
template:
|
||||
src: nextcloud-nginx.conf.j2
|
||||
dest: "{{ nginx_conf_dir }}/nextcloud-nginx.conf" # /etc/nginx/conf.d
|
||||
when: nextcloud_enabled | bool
|
||||
when: nextcloud_enabled
|
||||
|
||||
- name: Disable http://box{{ nextcloud_url }} via NGINX, by removing {{ nginx_conf_dir }}/nextcloud-nginx.conf # http://box/nextcloud
|
||||
file:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue