mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #1272 from holta/ansible-output
Tweaks to PR #1271 (Ansible output)
This commit is contained in:
commit
a868844de8
3 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
- name: Install packages {awstats, pwauth, openssl}
|
- name: 'Install 3 packages: awstats, openssl, pwauth'
|
||||||
package:
|
package:
|
||||||
name:
|
name:
|
||||||
- awstats
|
- awstats
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
tags:
|
tags:
|
||||||
- download
|
- download
|
||||||
|
|
||||||
- name: Install packages libapache2-mod-authnz-external and apache2-utils (debuntu)
|
- name: 'Install 2 packages: apache2-utils, libapache2-mod-authnz-external (debuntu)'
|
||||||
package:
|
package:
|
||||||
name:
|
name:
|
||||||
- libapache2-mod-authnz-external
|
- libapache2-mod-authnz-external
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
command: a2enmod cgi
|
command: a2enmod cgi
|
||||||
when: is_debuntu
|
when: is_debuntu
|
||||||
|
|
||||||
- name: Create directory for AWStats to use as intermediate summary storage
|
- name: 'Mandate {{ apache_user }}:{{ apache_user }} perm 0750 dirs: {{ awstats_data_dir }} (intermediate summary storage) & {{ apache_log_dir }}' # /library/awstats & /var/log/apache2 typically
|
||||||
file:
|
file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
mode: 0750
|
mode: 0750
|
||||||
|
|
|
@ -143,7 +143,7 @@
|
||||||
state: absent
|
state: absent
|
||||||
when: not elgg_enabled and is_redhat
|
when: not elgg_enabled and is_redhat
|
||||||
|
|
||||||
- name: Restart Apache ({{ apache_service }}), to enable/disable http://box/elgg
|
- name: Restart Apache ({{ apache_service }}) to enable/disable http://box/elgg
|
||||||
service:
|
service:
|
||||||
name: "{{ apache_service }}"
|
name: "{{ apache_service }}"
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
state: present
|
state: present
|
||||||
when: is_redhat
|
when: is_redhat
|
||||||
|
|
||||||
- name: Unpack {{ nextcloud_src_file }} to permanent location /opt/nextcloud
|
- name: Unarchive {{ nextcloud_src_file }} to permanent location {{ nextcloud_prefix }} # e.g. unpack nextcloud_latest-14.tar.bz2 to /opt/nextcloud
|
||||||
unarchive:
|
unarchive:
|
||||||
src: "{{ downloads_dir }}/{{ nextcloud_src_file }}"
|
src: "{{ downloads_dir }}/{{ nextcloud_src_file }}"
|
||||||
dest: "{{ nextcloud_prefix }}"
|
dest: "{{ nextcloud_prefix }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue