Enable /phpMyAdmin if SSL, Use UTF8 char set, Try to auto use TLS in mariadb
This commit is contained in:
		| @@ -11,3 +11,54 @@ firewall_list: | ||||
|   - permanent: 'yes' | ||||
|     service: 'mysql' | ||||
|     state: 'enabled' | ||||
| template_list: | ||||
|   - dest: '/etc/my.cnf.d/client.cnf' | ||||
|     group: 'root' | ||||
|     mode: '0644' | ||||
|     owner: 'root' | ||||
|     src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/my.cnf.d/client.cnf' | ||||
|   - dest: '/etc/my.cnf.d/mariadb-server.cnf' | ||||
|     group: 'root' | ||||
|     mode: '0644' | ||||
|     owner: 'root' | ||||
|     src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/my.cnf.d/mariadb-server.cnf' | ||||
|   - dest: '/etc/my.cnf.d/mysql-clients.cnf' | ||||
|     group: 'root' | ||||
|     mode: '0644' | ||||
|     owner: 'root' | ||||
|     src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/my.cnf.d/mysql-clients.cnf' | ||||
|   - dest: '/etc/my.cnf.d/spider.cnf' | ||||
|     group: 'root' | ||||
|     mode: '0644' | ||||
|     owner: 'root' | ||||
|     src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/my.cnf.d/spider.cnf' | ||||
|   - dest: '/etc/my.cnf.d/enable_encryption.preset' | ||||
|     group: 'root' | ||||
|     mode: '0644' | ||||
|     owner: 'root' | ||||
|     src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/my.cnf.d/enable_encryption.preset' | ||||
|   - dest: '/etc/my.cnf.d/cracklib_password_check.cnf' | ||||
|     group: 'root' | ||||
|     mode: '0644' | ||||
|     owner: 'root' | ||||
|     src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/my.cnf.d/cracklib_password_check.cnf' | ||||
|   - dest: '/etc/my.cnf.d/auth_gssapi.cnf' | ||||
|     group: 'root' | ||||
|     mode: '0644' | ||||
|     owner: 'root' | ||||
|     src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/my.cnf.d/auth_gssapi.cnf' | ||||
|   - dest: '/etc/phpMyAdmin/config.inc.php' | ||||
|     group: 'root' | ||||
|     mode: '0644' | ||||
|     owner: 'root' | ||||
|     src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/phpMyAdmin/config.inc.php' | ||||
|   - dest: '/etc/my.cnf' | ||||
|     group: 'root' | ||||
|     mode: '0644' | ||||
|     owner: 'root' | ||||
|     src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/etc/my.cnf' | ||||
|   - dest: '/templates/Fedora/34/etc/httpd/conf.d/phpMyAdmin.conf' | ||||
|     group: 'root' | ||||
|     mode: '0644' | ||||
|     owner: 'root' | ||||
|     src: '{{ ansible_distribution }}/{{ ansible_distribution_major_version }}/templates/Fedora/34/etc/httpd/conf.d/phpMyAdmin.conf' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user