1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Tighter messaging

This commit is contained in:
A Holt 2017-11-05 01:44:34 -04:00 committed by GitHub
parent c215dc0f8f
commit ff378c4933
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,14 +9,14 @@
# but we use the tar file to get the latest version
- name: Get the Nextcloud software
get_url: url={{ nextcloud_dl_url }}/{{ nextcloud_src_file }} dest={{ downloads_dir }}/{{ nextcloud_src_file }}
get_url: url={{ nextcloud_dl_url }}/{{ nextcloud_src_file }} dest={{ downloads_dir }}/{{ nextcloud_src_file }}
when: internet_available
async: 900
poll: 15
tags:
- download
- name: Ubuntu and Debian treat names differently
- name: Ubuntu and Debian treat names differently (debian)
package: name={{ item }} state=present
with_items:
- libapache2-mod-php{{ php_version }}
@ -24,7 +24,7 @@
- php{{ php_version }}-zip
when: is_debian
- name: Ubuntu and Debian treat names differently
- name: Ubuntu and Debian treat names differently (ubuntu)
package: name={{ item }} state=present
with_items:
- libapache2-mod-php
@ -33,7 +33,7 @@
- php-mbstring
when: is_ubuntu
- name: Install list of packages for debuntu
- name: Install list of packages (debuntu)
package: name={{ item }} state=present
with_items:
- php{{ php_version }}-gd
@ -44,7 +44,7 @@
- php{{ php_version }}-mcrypt
when: is_debuntu
- name: Install list of packages
- name: Install list of packages (redhat)
package: name={{ item }} state=present
with_items:
- php
@ -58,14 +58,14 @@
# - php-imagick
when: is_redhat
- name: Copy it to permanent location /opt
- name: Copy it to permanent location /opt (OS's other than Fedora 18)
unarchive: src={{ downloads_dir }}/{{ nextcloud_src_file }}
dest={{ nextcloud_prefix }}
creates={{ nextcloud_prefix }}/nextcloud/version.php
when: not is_F18
# ansible 1.4.1 does not have "creates"
- name: Copy it to permanent location /opt
- name: Copy it to permanent location /opt (Fedora 18)
unarchive: src={{ downloads_dir }}/{{ nextcloud_src_file }}
dest={{ nextcloud_prefix }}
when: is_F18
@ -75,7 +75,7 @@
state=directory
when: is_centos
- name: Add autoconfig file
- name: Add autoconfig file (CentOS)
template: src=autoconfig.php.j2
dest={{ nextcloud_prefix }}/nextcloud/config/autoconfig.php
owner={{ apache_user }}
@ -120,7 +120,7 @@
# Enable nextcloud by copying template to httpd config
# following enables and disables
- include: nextcloud_enabled.yml
- include_tasks: nextcloud_enabled.yml
- name: Add Nextcloud to service list
ini_file: dest='{{ service_filelist }}'