mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
Merge pull request #2129 from holta/state-file-clarifs
Clarify "Add 'XYZ_installed: True' to {{ iiab_state_file }}" in 30 playbooks
This commit is contained in:
commit
4ac822d24e
31 changed files with 30 additions and 30 deletions
|
@ -64,7 +64,7 @@
|
||||||
args:
|
args:
|
||||||
chdir: "{{ azuracast_host_dir }}"
|
chdir: "{{ azuracast_host_dir }}"
|
||||||
|
|
||||||
- name: Add 'azuracast_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'azuracast_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^azuracast_installed'
|
regexp: '^azuracast_installed'
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
regexp: '^#DiscoverableTimeout'
|
regexp: '^#DiscoverableTimeout'
|
||||||
line: 'DiscoverableTimeout = 0'
|
line: 'DiscoverableTimeout = 0'
|
||||||
|
|
||||||
- name: Add 'bluetooth_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'bluetooth_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^bluetooth_installed'
|
regexp: '^bluetooth_installed'
|
||||||
|
|
|
@ -102,7 +102,7 @@
|
||||||
when: not metadatadb.stat.exists
|
when: not metadatadb.stat.exists
|
||||||
#when: calibreweb_provision | bool
|
#when: calibreweb_provision | bool
|
||||||
|
|
||||||
- name: Add 'calibreweb_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'calibreweb_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^calibreweb_installed'
|
regexp: '^calibreweb_installed'
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
include_tasks: create-db.yml
|
include_tasks: create-db.yml
|
||||||
when: not calibre_db.stat.exists
|
when: not calibre_db.stat.exists
|
||||||
|
|
||||||
- name: Add 'calibre_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'calibre_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^calibreweb_installed'
|
regexp: '^calibreweb_installed'
|
||||||
|
|
|
@ -88,7 +88,7 @@
|
||||||
state: absent
|
state: absent
|
||||||
when: not captiveportal_enabled
|
when: not captiveportal_enabled
|
||||||
|
|
||||||
- name: Add 'captiveportal_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'captiveportal_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^captiveportal_installed'
|
regexp: '^captiveportal_installed'
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
tags:
|
tags:
|
||||||
- download
|
- download
|
||||||
|
|
||||||
- name: Add 'cups_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'cups_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^cups_installed'
|
regexp: '^cups_installed'
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
state: directory
|
state: directory
|
||||||
recurse: yes
|
recurse: yes
|
||||||
|
|
||||||
- name: Add 'dokuwiki_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'dokuwiki_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^dokuwiki_installed'
|
regexp: '^dokuwiki_installed'
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
src: elgg.conf
|
src: elgg.conf
|
||||||
dest: "/etc/{{ apache_config_dir }}/elgg.conf"
|
dest: "/etc/{{ apache_config_dir }}/elgg.conf"
|
||||||
|
|
||||||
- name: Add 'elgg_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'elgg_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^elgg_installed'
|
regexp: '^elgg_installed'
|
||||||
|
|
|
@ -124,7 +124,7 @@
|
||||||
- { src: 'gitea.service.j2', dest: '/etc/systemd/system/gitea.service' }
|
- { src: 'gitea.service.j2', dest: '/etc/systemd/system/gitea.service' }
|
||||||
- { src: 'gitea.conf.j2', dest: "/etc/{{ apache_config_dir }}/gitea.conf" }
|
- { src: 'gitea.conf.j2', dest: "/etc/{{ apache_config_dir }}/gitea.conf" }
|
||||||
|
|
||||||
- name: "Add 'gitea_installed: True' to {{ iiab_state_file }}"
|
- name: "Add 'gitea_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^gitea_installed'
|
regexp: '^gitea_installed'
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
- { src: 'internetarchive.service.j2', dest: '/etc/systemd/system/internetarchive.service' }
|
- { src: 'internetarchive.service.j2', dest: '/etc/systemd/system/internetarchive.service' }
|
||||||
- { src: 'internetarchive.conf', dest: '/etc/apache2/sites-available/internetarchive.conf' }
|
- { src: 'internetarchive.conf', dest: '/etc/apache2/sites-available/internetarchive.conf' }
|
||||||
|
|
||||||
- name: Add 'internetarchive_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'internetarchive_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^internetarchive_installed'
|
regexp: '^internetarchive_installed'
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
async: 1800
|
async: 1800
|
||||||
poll: 10
|
poll: 10
|
||||||
|
|
||||||
- name: Add 'kalite_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'kalite_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^kalite_installed'
|
regexp: '^kalite_installed'
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
|
|
||||||
# 5. RECORD KIWIX AS INSTALLED IN /etc/iiab/iiab_state.yml
|
# 5. RECORD KIWIX AS INSTALLED IN /etc/iiab/iiab_state.yml
|
||||||
|
|
||||||
- name: "Add 'kiwix_installed: True' to {{ iiab_state_file }}"
|
- name: "Add 'kiwix_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^kiwix_installed'
|
regexp: '^kiwix_installed'
|
||||||
|
|
|
@ -113,7 +113,7 @@
|
||||||
# apache2_module:
|
# apache2_module:
|
||||||
# name: proxy_http
|
# name: proxy_http
|
||||||
|
|
||||||
- name: Add 'kolibri_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'kolibri_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^kolibri_installed'
|
regexp: '^kolibri_installed'
|
||||||
|
|
|
@ -98,7 +98,7 @@
|
||||||
state: restarted
|
state: restarted
|
||||||
when: lokole_enabled | bool
|
when: lokole_enabled | bool
|
||||||
|
|
||||||
- name: Add 'lokole_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'lokole_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^lokole_installed'
|
regexp: '^lokole_installed'
|
||||||
|
|
|
@ -85,7 +85,7 @@
|
||||||
|
|
||||||
# Install {{ nginx_config_dir }}/mediawiki-nginx.conf from template in enable.yml
|
# Install {{ nginx_config_dir }}/mediawiki-nginx.conf from template in enable.yml
|
||||||
|
|
||||||
- name: Add 'mediawiki_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'mediawiki_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^mediawiki_installed'
|
regexp: '^mediawiki_installed'
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
path: "{{ minetest_game_dir }}/mods/name_restrictions"
|
path: "{{ minetest_game_dir }}/mods/name_restrictions"
|
||||||
when: minetest_default_game == "carbone-ng"
|
when: minetest_default_game == "carbone-ng"
|
||||||
|
|
||||||
- name: Add 'minetest_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'minetest_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^minetest_installed'
|
regexp: '^minetest_installed'
|
||||||
|
|
|
@ -128,7 +128,7 @@
|
||||||
- { src: 'mongodb.service.j2', dest: '/etc/systemd/system/mongodb.service', mode: '0644' }
|
- { src: 'mongodb.service.j2', dest: '/etc/systemd/system/mongodb.service', mode: '0644' }
|
||||||
- { src: 'iiab-mongodb-repair-if-no-lock.j2', dest: '/usr/bin/iiab-mongodb-repair-if-no-lock', mode: '0755' }
|
- { src: 'iiab-mongodb-repair-if-no-lock.j2', dest: '/usr/bin/iiab-mongodb-repair-if-no-lock', mode: '0755' }
|
||||||
|
|
||||||
- name: Add 'mongodb_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'mongodb_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^mongodb_installed'
|
regexp: '^mongodb_installed'
|
||||||
|
|
|
@ -138,7 +138,7 @@
|
||||||
path: "{{ moodle_base }}/config.php"
|
path: "{{ moodle_base }}/config.php"
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
|
||||||
- name: Add 'moodle_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'moodle_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^moodle_installed'
|
regexp: '^moodle_installed'
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
group: root
|
group: root
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
- name: Add 'mosquitto_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'mosquitto_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^mosquitto_installed'
|
regexp: '^mosquitto_installed'
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
create: yes
|
create: yes
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Add 'munin_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'munin_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^munin_installed'
|
regexp: '^munin_installed'
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
state: directory
|
state: directory
|
||||||
when: ansible_distribution == "CentOS"
|
when: ansible_distribution == "CentOS"
|
||||||
|
|
||||||
- name: Add 'dansguardian_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'dansguardian_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^dansguardian_installed'
|
regexp: '^dansguardian_installed'
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
state: file
|
state: file
|
||||||
when: is_redhat | bool
|
when: is_redhat | bool
|
||||||
|
|
||||||
- name: Add 'dhcpd_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'dhcpd_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^dhcpd_installed'
|
regexp: '^dhcpd_installed'
|
||||||
|
|
|
@ -100,7 +100,7 @@
|
||||||
state: absent
|
state: absent
|
||||||
when: not is_debuntu and not dns_jail_enabled
|
when: not is_debuntu and not dns_jail_enabled
|
||||||
|
|
||||||
- name: Add 'named_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'named_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^named_installed'
|
regexp: '^named_installed'
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
- include_tasks: roles/network/tasks/dansguardian.yml
|
- include_tasks: roles/network/tasks/dansguardian.yml
|
||||||
when: dansguardian_install | bool
|
when: dansguardian_install | bool
|
||||||
|
|
||||||
- name: Add 'squid_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'squid_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^squid_installed'
|
regexp: '^squid_installed'
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
group: root
|
group: root
|
||||||
state: link
|
state: link
|
||||||
|
|
||||||
- name: Add 'wondershaper_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'wondershaper_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^wondershaper_installed'
|
regexp: '^wondershaper_installed'
|
||||||
|
|
|
@ -182,7 +182,7 @@
|
||||||
group: root
|
group: root
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
|
||||||
- name: Add 'nextcloud_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'nextcloud_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^nextcloud_installed'
|
regexp: '^nextcloud_installed'
|
||||||
|
|
|
@ -97,7 +97,7 @@
|
||||||
state: present
|
state: present
|
||||||
name: proxy_wstunnel
|
name: proxy_wstunnel
|
||||||
|
|
||||||
- name: Add 'nodered_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'nodered_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^nodered_installed'
|
regexp: '^nodered_installed'
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
src: smb.conf.j2
|
src: smb.conf.j2
|
||||||
dest: /etc/samba/smb.conf
|
dest: /etc/samba/smb.conf
|
||||||
|
|
||||||
- name: Add 'samba_installed' variable values to {{ iiab_state_file }}
|
- name: "Add 'samba_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^samba_installed'
|
regexp: '^samba_installed'
|
||||||
|
|
|
@ -215,7 +215,7 @@
|
||||||
# # Use this instead, if tabs are truly nec:
|
# # Use this instead, if tabs are truly nec:
|
||||||
# # block: "\tvar pathPrefix = '/sugarizer';\n\tapp.use(pathPrefix, require('path-prefix-proxy')(pathPrefix));"
|
# # block: "\tvar pathPrefix = '/sugarizer';\n\tapp.use(pathPrefix, require('path-prefix-proxy')(pathPrefix));"
|
||||||
|
|
||||||
- name: "Add 'sugarizer_installed: True' to {{ iiab_state_file }}"
|
- name: "Add 'sugarizer_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^sugarizer_installed'
|
regexp: '^sugarizer_installed'
|
||||||
|
|
|
@ -90,7 +90,7 @@
|
||||||
dest: "/etc/{{ apache_config_dir }}/wordpress.conf"
|
dest: "/etc/{{ apache_config_dir }}/wordpress.conf"
|
||||||
when: apache_enabled | bool
|
when: apache_enabled | bool
|
||||||
|
|
||||||
- name: "Add 'wordpress_installed: True' to {{ iiab_state_file }}"
|
- name: "Add 'wordpress_installed: True' to {{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ iiab_state_file }}"
|
dest: "{{ iiab_state_file }}"
|
||||||
regexp: '^wordpress_installed'
|
regexp: '^wordpress_installed'
|
||||||
|
|
Loading…
Reference in a new issue