mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
': false' to ': False' + ': true' to ': True' or ': yes'
This commit is contained in:
parent
3a1ccf3638
commit
9543a10d82
8 changed files with 13 additions and 13 deletions
|
@ -44,8 +44,8 @@
|
||||||
- name: Does 'ubermix' exist in /etc/lsb-release?
|
- name: Does 'ubermix' exist in /etc/lsb-release?
|
||||||
shell: grep -i ubermix /etc/lsb-release # Pipe to cat to avoid red errors?
|
shell: grep -i ubermix /etc/lsb-release # Pipe to cat to avoid red errors?
|
||||||
register: grep_ubermix
|
register: grep_ubermix
|
||||||
failed_when: false # Universal way to hide alarmist red errors!
|
failed_when: False # Universal way to hide alarmist red errors!
|
||||||
#ignore_errors: true
|
#ignore_errors: True
|
||||||
#check_mode: no
|
#check_mode: no
|
||||||
|
|
||||||
#- debug:
|
#- debug:
|
||||||
|
@ -107,7 +107,7 @@
|
||||||
enabled: False
|
enabled: False
|
||||||
state: stopped
|
state: stopped
|
||||||
when: is_ubuntu | bool
|
when: is_ubuntu | bool
|
||||||
ignore_errors: true
|
ignore_errors: True
|
||||||
|
|
||||||
- name: Disable SELinux on next boot (OS's other than debuntu)
|
- name: Disable SELinux on next boot (OS's other than debuntu)
|
||||||
selinux:
|
selinux:
|
||||||
|
@ -127,7 +127,7 @@
|
||||||
- name: Check if the identifier for Intel's NUC6 built-in WiFi is present
|
- name: Check if the identifier for Intel's NUC6 built-in WiFi is present
|
||||||
shell: "lsusb | grep 8087:0a2b | wc | awk '{print $1}'"
|
shell: "lsusb | grep 8087:0a2b | wc | awk '{print $1}'"
|
||||||
register: usb_NUC6
|
register: usb_NUC6
|
||||||
ignore_errors: true
|
ignore_errors: True
|
||||||
|
|
||||||
- name: Download {{ iiab_download_url }}/iwlwifi-8000C-13.ucode to /lib/firmware for built-in WiFi on NUC6 # iiab_download_url is http://download.iiab.io/packages
|
- name: Download {{ iiab_download_url }}/iwlwifi-8000C-13.ucode to /lib/firmware for built-in WiFi on NUC6 # iiab_download_url is http://download.iiab.io/packages
|
||||||
get_url:
|
get_url:
|
||||||
|
|
|
@ -29,8 +29,8 @@
|
||||||
owner: "{{ apache_user }}"
|
owner: "{{ apache_user }}"
|
||||||
group: "{{ apache_user }}"
|
group: "{{ apache_user }}"
|
||||||
state: directory
|
state: directory
|
||||||
recurse: true
|
recurse: yes
|
||||||
force: true
|
force: yes
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ awstats_data_dir }}"
|
- "{{ awstats_data_dir }}"
|
||||||
- "{{ apache_log_dir }}"
|
- "{{ apache_log_dir }}"
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
state: stopped
|
state: stopped
|
||||||
#enabled: no
|
#enabled: no
|
||||||
#register: command_result # gist.github.com/tyrells/0a79681de339237cb04c
|
#register: command_result # gist.github.com/tyrells/0a79681de339237cb04c
|
||||||
#failed_when: false # Never Fail during "systemctl stop calibre-serve" (even if service doesn't exist!)
|
#failed_when: False # Never Fail during "systemctl stop calibre-serve" (even if service doesn't exist!)
|
||||||
#when: calibre_svc.stat.exists
|
#when: calibre_svc.stat.exists
|
||||||
|
|
||||||
# 3. CREATE USER DATABASE
|
# 3. CREATE USER DATABASE
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
owner: "{{ apache_user }}"
|
owner: "{{ apache_user }}"
|
||||||
group: "{{ apache_user }}"
|
group: "{{ apache_user }}"
|
||||||
state: link
|
state: link
|
||||||
force: true
|
force: yes
|
||||||
|
|
||||||
- name: 'Install /opt/elgg/elgg-config/settings.php from template (WARNING: overwrites manual settings!)'
|
- name: 'Install /opt/elgg/elgg-config/settings.php from template (WARNING: overwrites manual settings!)'
|
||||||
template:
|
template:
|
||||||
|
|
|
@ -54,4 +54,4 @@ gitea_log_root: "{{ gitea_root_directory }}/log"
|
||||||
|
|
||||||
# Extra configuration
|
# Extra configuration
|
||||||
gitea_display_name: Internet-in-a-Box Gitea
|
gitea_display_name: Internet-in-a-Box Gitea
|
||||||
skip_install_screen: true
|
skip_install_screen: true # lowercase for Gitea's own /etc/gitea/app.ini
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
group: root
|
group: root
|
||||||
mode: 0600
|
mode: 0600
|
||||||
|
|
||||||
- name: Install config file /etc/monit.d/watchdog from template
|
- name: Install config file /etc/monit.d/watchdog from template (NEVER RUNS, WHY?)
|
||||||
template:
|
template:
|
||||||
src: watchdog
|
src: watchdog
|
||||||
dest: /etc/monit.d/watchdog
|
dest: /etc/monit.d/watchdog
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
force: yes
|
force: yes
|
||||||
mode: 0755
|
mode: 0755
|
||||||
register: monit_config
|
register: monit_config
|
||||||
when: false | bool
|
when: False # IS THIS A BUG ?
|
||||||
until: monit_config | success
|
until: monit_config | success
|
||||||
retries: 5
|
retries: 5
|
||||||
delay: 1
|
delay: 1
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
shell: "ls /usr/share/doc/ | grep avahi | head -n1"
|
shell: "ls /usr/share/doc/ | grep avahi | head -n1"
|
||||||
register: avahi_ver
|
register: avahi_ver
|
||||||
ignore_errors: True
|
ignore_errors: True
|
||||||
changed_when: false
|
changed_when: False
|
||||||
# when: not is_debuntu # would cause failures 6 lines below
|
# when: not is_debuntu # would cause failures 6 lines below
|
||||||
|
|
||||||
- name: Grab a clean copy of ssh.service (not debuntu)
|
- name: Grab a clean copy of ssh.service (not debuntu)
|
||||||
|
|
|
@ -73,7 +73,7 @@
|
||||||
# stat:
|
# stat:
|
||||||
# path: "{{ iiab_base }}/sugarizer-server/node_modules"
|
# path: "{{ iiab_base }}/sugarizer-server/node_modules"
|
||||||
# register: nmtest
|
# register: nmtest
|
||||||
# ignore_errors: true
|
# ignore_errors: True
|
||||||
#
|
#
|
||||||
#- name: Set a flag to prevent re-running of "npm install"
|
#- name: Set a flag to prevent re-running of "npm install"
|
||||||
# set_fact:
|
# set_fact:
|
||||||
|
|
Loading…
Reference in a new issue