1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

tweaks to cultivate implementers into engaging+understanding more deeply

This commit is contained in:
A Holt 2017-10-27 20:13:45 -04:00 committed by GitHub
parent 47a78b426c
commit f101f87a36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
- name: Install MySQL Debian
- name: Install MySQL if Debian/Debuntu
package: name={{ item }}
state=present
with_items:
@ -18,11 +18,11 @@
tags:
- download
- name: php-xml for ubuntu and debian-9
- name: php-xml for 'ubuntu' and 'debian-9'
package: name=php{{ php_version }}-xml state=present
when: is_ubuntu or is_debian_9
- name: php-xml for debian-8
- name: php-xml for 'debian-8'
package: name=php-xml-parser state=present
when: is_debian_8
@ -78,7 +78,7 @@
template: src=my.cnf.j2 dest=/root/.my.cnf owner=root mode=0600
when: mysql_enabled
- name: Update mysql root password for all remaining root accounts
- name: Update MySQL root password for all remaining root accounts
mysql_user: name=root host={{ item }} password={{ mysql_root_password }} priv=*.*:ALL,GRANT
with_items:
# - "{{ iiab_hostname }}.{{ iiab_domain }}"
@ -106,7 +106,7 @@
when: not mysql_enabled
- name: Add mysql to service list
- name: Add 'mysql' to service list
ini_file: dest='{{ service_filelist }}'
section=mysql
option='{{ item.option }}'
@ -115,6 +115,6 @@
- option: name
value: mysql-database
- option: description
value: '"MySQL is a widely used database service on the Internet which runs on many platforms, and is often offered and available at hosting Internet Service Providers"'
value: '"MySQL is a widely used free and open source (GPLv2) database, offered by most web hosting services, on a diversity of platforms."'
- option: enabled
value: "{{ mysql_enabled }}"