mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
/etc/iiab/iiab.ini -> {{ iiab_ini_file }}
This commit is contained in:
parent
b973906dc3
commit
b5efe25edb
42 changed files with 52 additions and 52 deletions
|
@ -1,5 +1,5 @@
|
||||||
# workaround for fact that auto create does not work on ini_file
|
# workaround for fact that auto create does not work on ini_file
|
||||||
- name: Create /etc/iiab/iiab.ini (iiab_ini_file)
|
- name: Create {{ iiab_ini_file }} (iiab_ini_file)
|
||||||
file:
|
file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
state: touch
|
state: touch
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
- option: iiab_dir
|
- option: iiab_dir
|
||||||
value: "{{ iiab_dir }}"
|
value: "{{ iiab_dir }}"
|
||||||
|
|
||||||
- name: Add 'version' variable values to /etc/iiab/iiab.ini
|
- name: Add 'version' variable values to {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: version
|
section: version
|
||||||
|
|
|
@ -165,7 +165,7 @@
|
||||||
include_tasks: hostname.yml
|
include_tasks: hostname.yml
|
||||||
when: FQDN_changed
|
when: FQDN_changed
|
||||||
|
|
||||||
- name: Add 'runtime' variable values to /etc/iiab/iiab.ini
|
- name: Add 'runtime' variable values to {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: runtime
|
section: runtime
|
||||||
|
@ -209,7 +209,7 @@
|
||||||
- option: FQDN_changed
|
- option: FQDN_changed
|
||||||
value: "{{ FQDN_changed }}"
|
value: "{{ FQDN_changed }}"
|
||||||
|
|
||||||
- name: Add 'runtime' variable 'is_VM' value if defined, to /etc/iiab/iiab.ini
|
- name: Add 'runtime' variable 'is_VM' value if defined, to {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: runtime
|
section: runtime
|
||||||
|
|
|
@ -38,8 +38,8 @@ echo "/etc/resolv.conf"
|
||||||
cat /etc/resolv.conf
|
cat /etc/resolv.conf
|
||||||
echo
|
echo
|
||||||
echo "=========================================================="
|
echo "=========================================================="
|
||||||
echo "cat /etc/iiab/iiab.ini"
|
echo "cat {{ iiab_ini_file }}"
|
||||||
cat /etc/iiab/iiab.ini
|
cat {{ iiab_ini_file }}
|
||||||
echo
|
echo
|
||||||
echo "=========================================================="
|
echo "=========================================================="
|
||||||
echo "routing table"
|
echo "routing table"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
- include_tasks: install.yml
|
- include_tasks: install.yml
|
||||||
when: awstats_install
|
when: awstats_install
|
||||||
|
|
||||||
- name: Add 'awstats' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'awstats' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: awstats
|
section: awstats
|
||||||
|
|
|
@ -122,7 +122,7 @@
|
||||||
name: "{{ apache_service }}" # httpd or apache2
|
name: "{{ apache_service }}" # httpd or apache2
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
- name: Add 'calibre-web' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'calibre-web' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: calibre-web
|
section: calibre-web
|
||||||
|
|
|
@ -132,7 +132,7 @@
|
||||||
name: "{{ apache_service }}"
|
name: "{{ apache_service }}"
|
||||||
state: reloaded
|
state: reloaded
|
||||||
|
|
||||||
- name: Add 'calibre' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'calibre' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: calibre
|
section: calibre
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
enabled: no
|
enabled: no
|
||||||
when: not cups_enabled and is_F18
|
when: not cups_enabled and is_F18
|
||||||
|
|
||||||
- name: Add 'cups' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'cups' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: cups
|
section: cups
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
include_tasks: install.yml
|
include_tasks: install.yml
|
||||||
when: dokuwiki_install
|
when: dokuwiki_install
|
||||||
|
|
||||||
- name: Add 'dokuwiki' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'dokuwiki' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: dokuwiki
|
section: dokuwiki
|
||||||
|
|
|
@ -138,7 +138,7 @@
|
||||||
state: absent
|
state: absent
|
||||||
when: not elgg_enabled and is_redhat
|
when: not elgg_enabled and is_redhat
|
||||||
|
|
||||||
- name: Add 'elgg' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'elgg' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: elgg
|
section: elgg
|
||||||
|
|
|
@ -59,9 +59,9 @@
|
||||||
with_fileglob:
|
with_fileglob:
|
||||||
- html/services/*
|
- html/services/*
|
||||||
|
|
||||||
- name: Create symlink from assets to /etc/iiab/iiab.ini
|
- name: Create symlink from assets to {{ iiab_ini_file }}
|
||||||
file:
|
file:
|
||||||
src: "/etc/iiab/iiab.ini"
|
src: "{{ iiab_ini_file }}"
|
||||||
dest: "{{ doc_root }}/common/assets/iiab.ini"
|
dest: "{{ doc_root }}/common/assets/iiab.ini"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
tags:
|
tags:
|
||||||
- base
|
- base
|
||||||
|
|
||||||
- name: Add 'iiab-admin' to list at /etc/iiab/iiab.ini
|
- name: Add 'iiab-admin' to list at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: iiab-admin
|
section: iiab-admin
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
- include_tasks: enable.yml
|
- include_tasks: enable.yml
|
||||||
|
|
||||||
- name: Add 'kalite' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'kalite' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: kalite
|
section: kalite
|
||||||
|
|
|
@ -149,7 +149,7 @@
|
||||||
|
|
||||||
# 5. FINALIZE
|
# 5. FINALIZE
|
||||||
|
|
||||||
- name: Add 'kiwix' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'kiwix' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: kiwix
|
section: kiwix
|
||||||
|
|
|
@ -30,8 +30,8 @@ from iiab_env import get_iiab_env
|
||||||
|
|
||||||
# Config Files
|
# Config Files
|
||||||
# iiab_ini_file should be in {{ iiab_env_file }}
|
# iiab_ini_file should be in {{ iiab_env_file }}
|
||||||
iiab_ini_file = "{{ iiab_ini_file }}" # nominally /etc/iiab/iiab.ini
|
iiab_ini_file = "{{ iiab_ini_file }}" # nominally {{ iiab_ini_file }}
|
||||||
# iiab_ini_file = "/etc/iiab/iiab.ini" # comment out after testing
|
# iiab_ini_file = "{{ iiab_ini_file }}" # comment out after testing
|
||||||
|
|
||||||
IIAB_INI = get_iiab_env('IIAB_INI') # future
|
IIAB_INI = get_iiab_env('IIAB_INI') # future
|
||||||
if IIAB_INI:
|
if IIAB_INI:
|
||||||
|
|
|
@ -80,7 +80,7 @@
|
||||||
state: stopped
|
state: stopped
|
||||||
when: not kolibri_enabled
|
when: not kolibri_enabled
|
||||||
|
|
||||||
- name: Add 'kolibri' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'kolibri' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: kolibri
|
section: kolibri
|
||||||
|
|
|
@ -85,7 +85,7 @@
|
||||||
name: "{{ apache_service }}"
|
name: "{{ apache_service }}"
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
- name: Add 'mediawiki' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'mediawiki' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: mediawiki
|
section: mediawiki
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
# state: stopped
|
# state: stopped
|
||||||
# when: not mongodb_enabled
|
# when: not mongodb_enabled
|
||||||
|
|
||||||
- name: Add 'mongodb' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'mongodb' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: mongodb
|
section: mongodb
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
#- name: Restart monit service
|
#- name: Restart monit service
|
||||||
# command: service monit restart
|
# command: service monit restart
|
||||||
|
|
||||||
- name: Add 'monit' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'monit' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: monit
|
section: monit
|
||||||
|
|
|
@ -155,7 +155,7 @@
|
||||||
path: "{{ moodle_base }}/config.php"
|
path: "{{ moodle_base }}/config.php"
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
|
||||||
- name: Add 'moodle' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'moodle' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: moodle
|
section: moodle
|
||||||
|
|
|
@ -84,7 +84,7 @@
|
||||||
- /usr/share/munin/plugins/mysql_threads
|
- /usr/share/munin/plugins/mysql_threads
|
||||||
when: mysql_enabled
|
when: mysql_enabled
|
||||||
|
|
||||||
- name: Add 'munin' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'munin' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: munin
|
section: munin
|
||||||
|
|
|
@ -133,7 +133,7 @@
|
||||||
state: stopped
|
state: stopped
|
||||||
when: not mysql_enabled
|
when: not mysql_enabled
|
||||||
|
|
||||||
- name: Add 'mysql' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'mysql' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: mysql
|
section: mysql
|
||||||
|
|
|
@ -192,7 +192,7 @@
|
||||||
tags:
|
tags:
|
||||||
- network
|
- network
|
||||||
|
|
||||||
- name: Add 'computed_network' variable values to /etc/iiab/iiab.ini
|
- name: Add 'computed_network' variable values to {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: computed_network
|
section: computed_network
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
dhcp_service2: "dnsmasq disabled"
|
dhcp_service2: "dnsmasq disabled"
|
||||||
when: dnsmasq_install and iiab_network_mode == "Appliance"
|
when: dnsmasq_install and iiab_network_mode == "Appliance"
|
||||||
|
|
||||||
- name: Add 'network' variable values (from computed_services.yml) to /etc/iiab/iiab.ini
|
- name: Add 'network' variable values (from computed_services.yml) to {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: network
|
section: network
|
||||||
|
|
|
@ -188,7 +188,7 @@
|
||||||
gui_wan_iface: "{{ device_gw }}"
|
gui_wan_iface: "{{ device_gw }}"
|
||||||
when: user_wan_iface == "auto" and device_gw != "none" and discovered_wan_iface == "none"
|
when: user_wan_iface == "auto" and device_gw != "none" and discovered_wan_iface == "none"
|
||||||
|
|
||||||
- name: Add 'detected_network' variable values to /etc/iiab/iiab.ini
|
- name: Add 'detected_network' variable values to {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: detected_network
|
section: detected_network
|
||||||
|
|
|
@ -150,7 +150,7 @@
|
||||||
with_items:
|
with_items:
|
||||||
- { 0: 'gateway/iiab-gen-iptables', 1: '/usr/bin/iiab-gen-iptables' }
|
- { 0: 'gateway/iiab-gen-iptables', 1: '/usr/bin/iiab-gen-iptables' }
|
||||||
|
|
||||||
- name: Add 'squid' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'squid' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: squid
|
section: squid
|
||||||
|
@ -160,7 +160,7 @@
|
||||||
- option: enabled
|
- option: enabled
|
||||||
value: "{{ squid_enabled }}"
|
value: "{{ squid_enabled }}"
|
||||||
|
|
||||||
- name: Add 'dansguardian' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'dansguardian' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: dansguardian
|
section: dansguardian
|
||||||
|
@ -170,7 +170,7 @@
|
||||||
- option: enabled
|
- option: enabled
|
||||||
value: "{{ dansguardian_enabled }}"
|
value: "{{ dansguardian_enabled }}"
|
||||||
|
|
||||||
- name: Add 'wondershaper' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'wondershaper' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: wondershaper
|
section: wondershaper
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
when: dansguardian_install
|
when: dansguardian_install
|
||||||
|
|
||||||
# {{ proxy }} is normally "squid", but is "squid3" on raspbian-8 & debian-8
|
# {{ proxy }} is normally "squid", but is "squid3" on raspbian-8 & debian-8
|
||||||
- name: Add '{{ proxy }}' to list of services at /etc/iiab/iiab.ini
|
- name: Add '{{ proxy }}' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: "{{ proxy }}"
|
section: "{{ proxy }}"
|
||||||
|
@ -97,7 +97,7 @@
|
||||||
- option: enabled
|
- option: enabled
|
||||||
value: "{{ squid_enabled }}"
|
value: "{{ squid_enabled }}"
|
||||||
|
|
||||||
- name: Add 'dansguardian' variable values to /etc/iiab/iiab.ini
|
- name: Add 'dansguardian' variable values to {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: dansguardian
|
section: dansguardian
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
group: root
|
group: root
|
||||||
state: link
|
state: link
|
||||||
|
|
||||||
- name: Add 'wondershaper' variable values to /etc/iiab/iiab.ini
|
- name: Add 'wondershaper' variable values to {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: wondershaper
|
section: wondershaper
|
||||||
|
|
|
@ -9,7 +9,7 @@ IPTABLES_DATA=/etc/sysconfig/iptables
|
||||||
{% endif %}
|
{% endif %}
|
||||||
LANIF=$IIAB_LAN_DEVICE
|
LANIF=$IIAB_LAN_DEVICE
|
||||||
WANIF=$IIAB_WAN_DEVICE
|
WANIF=$IIAB_WAN_DEVICE
|
||||||
MODE=`grep iiab_network_mode_applied /etc/iiab/iiab.ini | gawk '{print $3}'`
|
MODE=`grep iiab_network_mode_applied {{ iiab_ini_file }} | gawk '{print $3}'`
|
||||||
|
|
||||||
clear_fw() {
|
clear_fw() {
|
||||||
$IPTABLES -F
|
$IPTABLES -F
|
||||||
|
|
|
@ -162,7 +162,7 @@
|
||||||
# following enables and disables
|
# following enables and disables
|
||||||
- include_tasks: nextcloud_enabled.yml
|
- include_tasks: nextcloud_enabled.yml
|
||||||
|
|
||||||
- name: Add 'nextcloud' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'nextcloud' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: Nextcloud
|
section: Nextcloud
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
state: stopped
|
state: stopped
|
||||||
when: not nodogsplash_enabled
|
when: not nodogsplash_enabled
|
||||||
|
|
||||||
- name: Add 'nodogsplash' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'nodogsplash' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: nodogsplash
|
section: nodogsplash
|
||||||
|
|
|
@ -206,7 +206,7 @@
|
||||||
# when: not openvpn_enabled and not installing
|
# when: not openvpn_enabled and not installing
|
||||||
|
|
||||||
|
|
||||||
- name: Add 'openvpn' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'openvpn' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: openvpn
|
section: openvpn
|
||||||
|
|
|
@ -20,9 +20,9 @@ if [ -f /etc/iiab/openvpn_handle ]; then
|
||||||
#else
|
#else
|
||||||
# # Option #3: Dangerous to invoke hypothetical variables :(
|
# # Option #3: Dangerous to invoke hypothetical variables :(
|
||||||
# source {{ iiab_env_file }}
|
# source {{ iiab_env_file }}
|
||||||
# # Option #4: CAUSED FAILURES IN AUGUST 2018, invoking stale variable from /etc/iiab/iiab.ini, but safer now that relegated to #4 ?
|
# # Option #4: CAUSED FAILURES IN AUGUST 2018, invoking stale variable from {{ iiab_ini_file }}, but safer now that relegated to #4 ?
|
||||||
# if [ -z "$HANDLE" ]; then
|
# if [ -z "$HANDLE" ]; then
|
||||||
# HANDLE=`cat /etc/iiab/iiab.ini | gawk \
|
# HANDLE=`cat {{ iiab_ini_file }} | gawk \
|
||||||
# '{ if((toupper($1) == "HANDLE") && ($2 == "=")) { print $3;}}'`
|
# '{ if((toupper($1) == "HANDLE") && ($2 == "=")) { print $3;}}'`
|
||||||
# fi
|
# fi
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -174,7 +174,7 @@
|
||||||
name: "{{ apache_service }}"
|
name: "{{ apache_service }}"
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
- name: Add 'osm' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'osm' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: osm
|
section: osm
|
||||||
|
|
|
@ -193,7 +193,7 @@
|
||||||
name: "{{ apache_service }}"
|
name: "{{ apache_service }}"
|
||||||
state: reloaded
|
state: reloaded
|
||||||
|
|
||||||
- name: Add 'pathagar' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'pathagar' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: pathagar
|
section: pathagar
|
||||||
|
|
|
@ -65,7 +65,7 @@
|
||||||
state: absent
|
state: absent
|
||||||
when: not phpmyadmin_enabled and is_debuntu
|
when: not phpmyadmin_enabled and is_debuntu
|
||||||
|
|
||||||
- name: Add 'phpmyadmin' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'phpmyadmin' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: phpmyadmin
|
section: phpmyadmin
|
||||||
|
|
|
@ -93,7 +93,7 @@
|
||||||
enabled: no
|
enabled: no
|
||||||
when: not postgresql_enabled
|
when: not postgresql_enabled
|
||||||
|
|
||||||
- name: Add 'postgresql' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'postgresql' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: postgresql
|
section: postgresql
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
- samba
|
- samba
|
||||||
when : not samba_enabled
|
when : not samba_enabled
|
||||||
|
|
||||||
- name: Add 'samba' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'samba' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: samba
|
section: samba
|
||||||
|
|
|
@ -228,7 +228,7 @@
|
||||||
# state: stopped
|
# state: stopped
|
||||||
# when: not sugarizer_enabled
|
# when: not sugarizer_enabled
|
||||||
|
|
||||||
- name: Add 'sugarizer' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'sugarizer' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: sugarizer
|
section: sugarizer
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
state: stopped
|
state: stopped
|
||||||
when: not transmission_enabled
|
when: not transmission_enabled
|
||||||
|
|
||||||
- name: Add transmission to list of services at /etc/iiab/iiab.ini
|
- name: Add transmission to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: transmission
|
section: transmission
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: started
|
state: started
|
||||||
|
|
||||||
- name: Add 'vnstat' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'vnstat' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: vnstat
|
section: vnstat
|
||||||
|
|
|
@ -135,7 +135,7 @@
|
||||||
name: "{{ apache_service }}"
|
name: "{{ apache_service }}"
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
- name: Add 'wordpress' to list of services at /etc/iiab/iiab.ini
|
- name: Add 'wordpress' to list of services at {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
dest: "{{ iiab_ini_file }}"
|
||||||
section: wordpress
|
section: wordpress
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
iiab_local_vars_file: /etc/iiab/local_vars.yml
|
iiab_local_vars_file: /etc/iiab/local_vars.yml
|
||||||
iiab_env_file: /etc/iiab/iiab.env
|
iiab_env_file: /etc/iiab/iiab.env
|
||||||
iiab_ini_file: /etc/iiab/iiab.ini
|
iiab_ini_file: /etc/iiab/iiab.ini
|
||||||
iiab_config_file: "{{ iiab_ini_file }}" # Legacy support / let's phase this out eventually
|
#iiab_config_file: "{{ iiab_ini_file }}" # Legacy support / let's phase this out eventually
|
||||||
service_filelist: "{{ iiab_ini_file }}" # Legacy support / let's phase this out eventually
|
#service_filelist: "{{ iiab_ini_file }}" # Legacy support / let's phase this out eventually
|
||||||
|
|
||||||
iiab_base: /opt/iiab
|
iiab_base: /opt/iiab
|
||||||
iiab_dir: "{{ iiab_base }}/iiab"
|
iiab_dir: "{{ iiab_base }}/iiab"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue