diff --git a/roles/mysql/tasks/main.yml b/roles/mysql/tasks/main.yml index e4819172a..2b1a622fe 100644 --- a/roles/mysql/tasks/main.yml +++ b/roles/mysql/tasks/main.yml @@ -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 }}"