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

@ -16,7 +16,7 @@
tags: tags:
- download - download
- name: Ubuntu and Debian treat names differently - name: Ubuntu and Debian treat names differently (debian)
package: name={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- libapache2-mod-php{{ php_version }} - libapache2-mod-php{{ php_version }}
@ -24,7 +24,7 @@
- php{{ php_version }}-zip - php{{ php_version }}-zip
when: is_debian when: is_debian
- name: Ubuntu and Debian treat names differently - name: Ubuntu and Debian treat names differently (ubuntu)
package: name={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- libapache2-mod-php - libapache2-mod-php
@ -33,7 +33,7 @@
- php-mbstring - php-mbstring
when: is_ubuntu when: is_ubuntu
- name: Install list of packages for debuntu - name: Install list of packages (debuntu)
package: name={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- php{{ php_version }}-gd - php{{ php_version }}-gd
@ -44,7 +44,7 @@
- php{{ php_version }}-mcrypt - php{{ php_version }}-mcrypt
when: is_debuntu when: is_debuntu
- name: Install list of packages - name: Install list of packages (redhat)
package: name={{ item }} state=present package: name={{ item }} state=present
with_items: with_items:
- php - php
@ -58,14 +58,14 @@
# - php-imagick # - php-imagick
when: is_redhat 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 }} unarchive: src={{ downloads_dir }}/{{ nextcloud_src_file }}
dest={{ nextcloud_prefix }} dest={{ nextcloud_prefix }}
creates={{ nextcloud_prefix }}/nextcloud/version.php creates={{ nextcloud_prefix }}/nextcloud/version.php
when: not is_F18 when: not is_F18
# ansible 1.4.1 does not have "creates" # 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 }} unarchive: src={{ downloads_dir }}/{{ nextcloud_src_file }}
dest={{ nextcloud_prefix }} dest={{ nextcloud_prefix }}
when: is_F18 when: is_F18
@ -75,7 +75,7 @@
state=directory state=directory
when: is_centos when: is_centos
- name: Add autoconfig file - name: Add autoconfig file (CentOS)
template: src=autoconfig.php.j2 template: src=autoconfig.php.j2
dest={{ nextcloud_prefix }}/nextcloud/config/autoconfig.php dest={{ nextcloud_prefix }}/nextcloud/config/autoconfig.php
owner={{ apache_user }} owner={{ apache_user }}
@ -120,7 +120,7 @@
# Enable nextcloud by copying template to httpd config # Enable nextcloud by copying template to httpd config
# following enables and disables # following enables and disables
- include: nextcloud_enabled.yml - include_tasks: nextcloud_enabled.yml
- name: Add Nextcloud to service list - name: Add Nextcloud to service list
ini_file: dest='{{ service_filelist }}' ini_file: dest='{{ service_filelist }}'