mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
commit
0b67d9dc90
5 changed files with 15 additions and 13 deletions
8
roles/munin/defaults/main.yml
Normal file
8
roles/munin/defaults/main.yml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# munin_install: True
|
||||||
|
# munin_enabled: True
|
||||||
|
|
||||||
|
# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml
|
||||||
|
# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing!
|
||||||
|
|
||||||
|
munin_username: Admin
|
||||||
|
munin_password: changeme
|
|
@ -7,7 +7,6 @@
|
||||||
- libcgi-fast-perl
|
- libcgi-fast-perl
|
||||||
- libapache2-mod-fcgid
|
- libapache2-mod-fcgid
|
||||||
state: present
|
state: present
|
||||||
#tags: download
|
|
||||||
when: is_debuntu | bool
|
when: is_debuntu | bool
|
||||||
|
|
||||||
- name: "Install 2 packages: munin, munin-node (OS's other than debuntu)"
|
- name: "Install 2 packages: munin, munin-node (OS's other than debuntu)"
|
||||||
|
@ -16,7 +15,6 @@
|
||||||
- munin
|
- munin
|
||||||
- munin-node
|
- munin-node
|
||||||
state: present
|
state: present
|
||||||
#tags: download
|
|
||||||
when: not is_debuntu
|
when: not is_debuntu
|
||||||
|
|
||||||
- name: Install /etc/munin/munin.conf and Apache's munin24.conf, from templates
|
- name: Install /etc/munin/munin.conf and Apache's munin24.conf, from templates
|
||||||
|
@ -33,8 +31,8 @@
|
||||||
- name: Establish username/password Admin/changeme in /etc/munin/munin-htpasswd
|
- name: Establish username/password Admin/changeme in /etc/munin/munin-htpasswd
|
||||||
htpasswd:
|
htpasswd:
|
||||||
path: /etc/munin/munin-htpasswd
|
path: /etc/munin/munin-htpasswd
|
||||||
name: Admin
|
name: "{{ munin_username}}" # Admin
|
||||||
password: changeme
|
password: "{{ munin_password }}" # changeme
|
||||||
|
|
||||||
- name: If MySQL is enabled, let Munin monitor it
|
- name: If MySQL is enabled, let Munin monitor it
|
||||||
copy:
|
copy:
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
# Transmission is a BitTorrent downloader for large Content Packs etc
|
# Transmission is a BitTorrent downloader for large Content Packs etc
|
||||||
# transmission_install: False
|
# transmission_install: False
|
||||||
# transmission_enabled: False
|
# transmission_enabled: False
|
||||||
|
# transmission_username: Admin
|
||||||
|
# transmission_password: changeme
|
||||||
|
|
||||||
# Transmission download directory & general owner/group
|
# Transmission download directory & general owner/group
|
||||||
# transmission_download_dir: "{{ content_base }}/transmission/" # /library/transmission/
|
# transmission_download_dir: "{{ content_base }}/transmission/" # /library/transmission/
|
||||||
|
@ -33,9 +35,5 @@
|
||||||
# then click "Scan content folder for videos" (can take many minutes!)
|
# then click "Scan content folder for videos" (can take many minutes!)
|
||||||
# E. READ "KA Lite Administration: What tips & tricks exist?" AT http://FAQ.IIAB.IO
|
# E. READ "KA Lite Administration: What tips & tricks exist?" AT http://FAQ.IIAB.IO
|
||||||
|
|
||||||
# Transmission administrative account
|
|
||||||
# transmission_username: Admin
|
|
||||||
# transmission_password: changeme
|
|
||||||
|
|
||||||
# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml
|
# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml
|
||||||
# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing!
|
# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing!
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
dest: "{{ wp_abs_path }}/wp-config.php"
|
dest: "{{ wp_abs_path }}/wp-config.php"
|
||||||
owner: root
|
owner: root
|
||||||
group: "{{ apache_user }}" # DO WE REALLY STILL WANT THIS FOR NGINX?
|
group: "{{ apache_user }}" # DO WE REALLY STILL WANT THIS FOR NGINX?
|
||||||
mode: '0660' # Others strongly recommend '0600' (or do Apache/NGINX really need group read & write permissions?)
|
mode: '0660' # Others strongly recommend '0600' (or do PHP/Apache/NGINX really need group read & write permissions?)
|
||||||
|
|
||||||
- name: Install etc/{{ apache_config_dir }}/wordpress.conf from template, for http://box{{ wp_url }} via Apache
|
- name: Install etc/{{ apache_config_dir }}/wordpress.conf from template, for http://box{{ wp_url }} via Apache
|
||||||
template:
|
template:
|
||||||
|
|
|
@ -469,6 +469,8 @@ sugarizer_port: 8089
|
||||||
# Transmission is a BitTorrent downloader for large Content Packs etc
|
# Transmission is a BitTorrent downloader for large Content Packs etc
|
||||||
transmission_install: False
|
transmission_install: False
|
||||||
transmission_enabled: False
|
transmission_enabled: False
|
||||||
|
transmission_username: Admin
|
||||||
|
transmission_password: changeme
|
||||||
|
|
||||||
# Transmission download directory & general owner/group
|
# Transmission download directory & general owner/group
|
||||||
transmission_download_dir: "{{ content_base }}/transmission/" # /library/transmission/
|
transmission_download_dir: "{{ content_base }}/transmission/" # /library/transmission/
|
||||||
|
@ -501,10 +503,6 @@ transmission_kalite_languages:
|
||||||
# then click "Scan content folder for videos" (can take many minutes!)
|
# then click "Scan content folder for videos" (can take many minutes!)
|
||||||
# E. READ "KA Lite Administration: What tips & tricks exist?" AT http://FAQ.IIAB.IO
|
# E. READ "KA Lite Administration: What tips & tricks exist?" AT http://FAQ.IIAB.IO
|
||||||
|
|
||||||
# Transmission administrative account
|
|
||||||
transmission_username: Admin
|
|
||||||
transmission_password: changeme
|
|
||||||
|
|
||||||
awstats_install: True
|
awstats_install: True
|
||||||
awstats_enabled: True
|
awstats_enabled: True
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue