mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
use lineinfile
This commit is contained in:
parent
d26d6fa4e0
commit
42e679a0e8
14 changed files with 49 additions and 36 deletions
|
@ -95,6 +95,8 @@
|
|||
when: awstats_enabled and is_debuntu
|
||||
|
||||
- name: Add 'awstats_installed' variable values to {{ iiab_installed }}
|
||||
ini_file:
|
||||
path: "{{ iiab_installed }}"
|
||||
value: awstats_installed
|
||||
lineinfile:
|
||||
dest: "{{ iiab_installed }}"
|
||||
regexp: '^awstats_installed'
|
||||
line: 'awstats_installed'
|
||||
state: present
|
||||
|
|
|
@ -88,7 +88,9 @@
|
|||
dest: "/etc/{{ apache_config_dir }}/elgg.conf"
|
||||
|
||||
- name: Add 'elgg_installed' variable values to {{ iiab_installed }}
|
||||
ini_file:
|
||||
path: "{{ iiab_installed }}"
|
||||
value: elgg_installed
|
||||
lineinfile:
|
||||
dest: "{{ iiab_installed }}"
|
||||
regexp: '^elgg_installed'
|
||||
line: 'elgg_installed'
|
||||
state: present
|
||||
|
||||
|
|
|
@ -38,11 +38,6 @@
|
|||
state: stopped
|
||||
when: not kalite_cron_enabled and is_F18
|
||||
|
||||
- name: Add 'kalite_installed' variable values to {{ iiab_installed }}
|
||||
ini_file:
|
||||
path: "{{ iiab_installed }}"
|
||||
value: kalite_installed
|
||||
|
||||
- name: Add 'kalite' variable values to {{ iiab_ini_file }}
|
||||
ini_file:
|
||||
path: "{{ iiab_ini_file }}"
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
poll: 10
|
||||
|
||||
- name: Add 'kalite_installed' variable values to {{ iiab_installed }}
|
||||
ini_file:
|
||||
path: "{{ iiab_installed }}"
|
||||
value: kalite_installed
|
||||
lineinfile:
|
||||
dest: "{{ iiab_installed }}"
|
||||
regexp: '^kalite_installed'
|
||||
line: 'kalite_installed'
|
||||
state: present
|
||||
|
|
|
@ -90,6 +90,8 @@
|
|||
- { src: 'kiwix.conf.j2', dest: '/etc/{{ apache_config_dir }}/kiwix.conf', mode: '0644'}
|
||||
|
||||
- name: Add 'kiwix_installed' variable values to {{ iiab_installed }}
|
||||
ini_file:
|
||||
path: "{{ iiab_installed }}"
|
||||
value: kiwix_installed
|
||||
lineinfile:
|
||||
dest: "{{ iiab_installed }}"
|
||||
regexp: '^kiwix_installed'
|
||||
line: 'kiwix_installed'
|
||||
state: present
|
||||
|
|
|
@ -113,6 +113,8 @@
|
|||
# name: proxy_http
|
||||
|
||||
- name: Add 'kolibri_installed' variable values to {{ iiab_installed }}
|
||||
ini_file:
|
||||
path: "{{ iiab_installed }}"
|
||||
value: kolibri_installed
|
||||
lineinfile:
|
||||
dest: "{{ iiab_installed }}"
|
||||
regexp: '^kolibri_installed'
|
||||
line: 'kolibri_installed'
|
||||
state: present
|
||||
|
|
|
@ -139,6 +139,8 @@
|
|||
mode: 0644
|
||||
|
||||
- name: Add 'moodle_installed' variable values to {{ iiab_installed }}
|
||||
ini_file:
|
||||
path: "{{ iiab_installed }}"
|
||||
value: moodle_installed
|
||||
lineinfile:
|
||||
dest: "{{ iiab_installed }}"
|
||||
regexp: '^moodle_installed'
|
||||
line: 'moodle_installed'
|
||||
state: present
|
||||
|
|
|
@ -183,6 +183,8 @@
|
|||
mode: 0644
|
||||
|
||||
- name: Add 'nextcloud_installed' variable values to {{ iiab_installed }}
|
||||
ini_file:
|
||||
path: "{{ iiab_installed }}"
|
||||
value: nextcloud_installed
|
||||
lineinfile:
|
||||
dest: "{{ iiab_installed }}"
|
||||
regexp: '^nextcloud_installed'
|
||||
line: 'nextcloud_installed'
|
||||
state: present
|
||||
|
|
|
@ -222,6 +222,8 @@
|
|||
# # block: "\tvar pathPrefix = '/sugarizer';\n\tapp.use(pathPrefix, require('path-prefix-proxy')(pathPrefix));"
|
||||
|
||||
- name: Add 'sugarizer_installed' variable values to {{ iiab_installed }}
|
||||
ini_file:
|
||||
path: "{{ iiab_installed }}"
|
||||
value: sugarizer_installed
|
||||
lineinfile:
|
||||
dest: "{{ iiab_installed }}"
|
||||
regexp: '^sugarizer_installed'
|
||||
line: 'sugarizer_installed'
|
||||
state: present
|
||||
|
|
|
@ -102,6 +102,8 @@
|
|||
when: apache_enabled
|
||||
|
||||
- name: Add 'wordpress_installed' variable values to {{ iiab_installed }}
|
||||
ini_file:
|
||||
path: "{{ iiab_installed }}"
|
||||
value: wordpress_installed
|
||||
lineinfile:
|
||||
dest: "{{ iiab_installed }}"
|
||||
regexp: '^wordpress_installed'
|
||||
line: 'wordpress_installed'
|
||||
state: present
|
||||
|
|
Loading…
Reference in a new issue