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:
|
||||
name:
|
||||
- awstats
|
||||
|
@ -8,7 +8,7 @@
|
|||
tags:
|
||||
- download
|
||||
|
||||
- name: Install packages libapache2-mod-authnz-external and apache2-utils (debuntu)
|
||||
- name: 'Install 2 packages: apache2-utils, libapache2-mod-authnz-external (debuntu)'
|
||||
package:
|
||||
name:
|
||||
- libapache2-mod-authnz-external
|
||||
|
@ -22,7 +22,7 @@
|
|||
command: a2enmod cgi
|
||||
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:
|
||||
path: "{{ item }}"
|
||||
mode: 0750
|
||||
|
|
|
@ -143,7 +143,7 @@
|
|||
state: absent
|
||||
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:
|
||||
name: "{{ apache_service }}"
|
||||
state: restarted
|
||||
|
|
|
@ -83,7 +83,7 @@
|
|||
state: present
|
||||
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:
|
||||
src: "{{ downloads_dir }}/{{ nextcloud_src_file }}"
|
||||
dest: "{{ nextcloud_prefix }}"
|
||||
|
|
Loading…
Add table
Reference in a new issue