1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

Update main.yml

This commit is contained in:
A Holt 2018-10-28 02:58:38 -04:00 committed by GitHub
parent a036b6f92a
commit 4799d44d5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
- name: Install Apache's required packages (debian) - name: Install Apache's required packages (debian)
package: package:
#name: [u'apache2', u'php{{ php_version }}', u'php{{ php_version }}-curl'] #name: [u'apache2', u'php{{ php_version }}', u'php{{ php_version }}-curl'] # FAILS ('u' for Unicode strings)
#name: ['apache2', 'php{{ php_version }}', 'php{{ php_version }}-curl'] # WORKS?
name: name:
- apache2 - apache2
- "php{{ php_version }}" - "php{{ php_version }}"
@ -22,11 +23,11 @@
- name: Install Apache's required packages (ubuntu) - name: Install Apache's required packages (ubuntu)
package: package:
#name: [u'apache2', u'php'] #name: [u'apache2', u'php'] # FAILS ('u' for Unicode strings)
name: ['apache2', 'php'] #name: ['apache2', 'php'] # WORKS
#name: name:
# - apache2 - apache2
# - php - php
state: present state: present
when: is_ubuntu when: is_ubuntu
tags: tags:
@ -39,7 +40,8 @@
- name: Install Apache's required packages (redhat) - name: Install Apache's required packages (redhat)
package: package:
#name: [u'httpd', u'php', u'php-curl', u'mod_authnz_external'] #name: [u'httpd', u'php', u'php-curl', u'mod_authnz_external'] # FAILS ('u' for Unicode strings)
#name: ['httpd', 'php', 'php-curl', 'mod_authnz_external'] # WORKS
name: name:
- httpd - httpd
- php - php