1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

move iiab_usb_lib_show_all from template to lineinfile

This commit is contained in:
George Hunt 2018-03-30 20:44:39 -07:00
parent ddfa291803
commit 8ad271903f
2 changed files with 6 additions and 1 deletions

View file

@ -4,7 +4,6 @@ IIAB_BASE_PATH={{ iiab_base }}
IIAB_DIR={{ iiab_dir }}
IIAB_RELEASE={{ iiab_base_ver }}
IIAB_REVISION={{ iiab_revision }}
IIAB_USB_LIB_SHOW_ALL={{ iiab_usb_lib_show_all }}
OS={{ ansible_local.local_facts.os }}
OS_VER={{ ansible_local.local_facts.os_ver }}
WWWROOT={{ doc_root }}

View file

@ -53,6 +53,12 @@
state: absent
when: not usb_lib_enabled
- name: Put a variable in iiab.env for display of content at root of USB
lineinfile:
file: /etc/iiab/iiab.env
regexp: "^IIAB_USB_LIB_SHOW_ALL.*"
line: "IIAB_USB_LIB_SHOW_ALL={{ iiab_usb_lib_show_all }}"
- name: Add Apache config for content directory
template:
src: content_dir.conf