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
|
@ -1,6 +1,6 @@
|
|||
- name: Enable http://box{{ wp_url }} via Apache # http://box/wordpress
|
||||
command: a2ensite wordpress.conf
|
||||
when: wordpress_enabled | bool
|
||||
when: wordpress_enabled
|
||||
|
||||
- name: Disable http://box{{ wp_url }} via Apache # http://box/wordpress
|
||||
command: a2dissite wordpress.conf
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
dest: "{{ downloads_dir }}"
|
||||
timeout: "{{ download_timeout }}"
|
||||
register: wp_download_output
|
||||
when: internet_available | bool
|
||||
when: internet_available
|
||||
|
||||
- name: Symlink {{ downloads_dir }}/wordpress.tar.gz -> {{ wp_download_output.dest }}
|
||||
file:
|
||||
|
@ -69,7 +69,7 @@
|
|||
|
||||
- name: Run /tmp/get-iiab-wp-salts to download 8 random salts/keys, creating a new {{ wp_abs_path }}/wp-keys.php (or if nec, copy from known/prior {{ wp_abs_path }}/wp-keys.php.BAK) # /library/wordpress
|
||||
command: /tmp/get-iiab-wp-salts
|
||||
#when: internet_available | bool # Better to run it every time, installing from wp-keys.php.BAK if download fails
|
||||
#when: internet_available # Better to run it every time, installing from wp-keys.php.BAK if download fails
|
||||
|
||||
# Don't Bother: /tmp file are deleted on reboot!
|
||||
#- name: Remove script /tmp/get-iiab-wp-salts
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
- name: Enable/Disable/Restart NGINX if primary
|
||||
include_tasks: nginx.yml
|
||||
when: nginx_enabled | bool
|
||||
when: nginx_enabled
|
||||
|
||||
|
||||
- name: Add 'wordpress' variable values to {{ iiab_ini_file }}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
template:
|
||||
src: wordpress-nginx.conf.j2
|
||||
dest: "{{ nginx_conf_dir }}/wordpress-nginx.conf" # /etc/nginx/conf.d
|
||||
when: wordpress_enabled | bool
|
||||
when: wordpress_enabled
|
||||
|
||||
- name: Disable http://box{{ wp_url }} via NGINX, by removing {{ nginx_conf_dir }}/wordpress-nginx.conf # http://box/wordpress
|
||||
file:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue