mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
tweaks to cultivate implementers into engaging+understanding more deeply
This commit is contained in:
parent
47a78b426c
commit
f101f87a36
1 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
- name: Install MySQL Debian
|
- name: Install MySQL if Debian/Debuntu
|
||||||
package: name={{ item }}
|
package: name={{ item }}
|
||||||
state=present
|
state=present
|
||||||
with_items:
|
with_items:
|
||||||
|
@ -18,11 +18,11 @@
|
||||||
tags:
|
tags:
|
||||||
- download
|
- 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
|
package: name=php{{ php_version }}-xml state=present
|
||||||
when: is_ubuntu or is_debian_9
|
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
|
package: name=php-xml-parser state=present
|
||||||
when: is_debian_8
|
when: is_debian_8
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@
|
||||||
template: src=my.cnf.j2 dest=/root/.my.cnf owner=root mode=0600
|
template: src=my.cnf.j2 dest=/root/.my.cnf owner=root mode=0600
|
||||||
when: mysql_enabled
|
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
|
mysql_user: name=root host={{ item }} password={{ mysql_root_password }} priv=*.*:ALL,GRANT
|
||||||
with_items:
|
with_items:
|
||||||
# - "{{ iiab_hostname }}.{{ iiab_domain }}"
|
# - "{{ iiab_hostname }}.{{ iiab_domain }}"
|
||||||
|
@ -106,7 +106,7 @@
|
||||||
when: not mysql_enabled
|
when: not mysql_enabled
|
||||||
|
|
||||||
|
|
||||||
- name: Add mysql to service list
|
- name: Add 'mysql' to service list
|
||||||
ini_file: dest='{{ service_filelist }}'
|
ini_file: dest='{{ service_filelist }}'
|
||||||
section=mysql
|
section=mysql
|
||||||
option='{{ item.option }}'
|
option='{{ item.option }}'
|
||||||
|
@ -115,6 +115,6 @@
|
||||||
- option: name
|
- option: name
|
||||||
value: mysql-database
|
value: mysql-database
|
||||||
- option: description
|
- 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
|
- option: enabled
|
||||||
value: "{{ mysql_enabled }}"
|
value: "{{ mysql_enabled }}"
|
||||||
|
|
Loading…
Reference in a new issue