1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Update main.yml

This commit is contained in:
A Holt 2018-10-28 12:03:35 -04:00 committed by GitHub
parent 379102824c
commit e101d2f42c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,6 @@
- name: Install MySQL (debuntu)
package:
name: "{{ item }}"
state: present
with_items:
name:
- mariadb-server
- mariadb-client
- python-mysqldb
@ -15,6 +13,7 @@
- php{{ php_version }}-odbc
#- php{{ php_version }}-xml
- php{{ php_version }}-xmlrpc
state: present
when: is_debuntu
tags:
- download
@ -33,9 +32,7 @@
- name: Install MySQL (OS's other than debuntu)
package:
name: "{{ item }}"
state: present
with_items:
name:
- MySQL-python
- mysql
- php
@ -47,6 +44,7 @@
- php-odbc
- php-xml
- php-xmlrpc
state: present
when: not is_debuntu
tags:
- download
@ -86,7 +84,7 @@
- localhost
when: mysql_enabled
- name: Copy .my.cnf file with root password credentials
- name: Install .my.cnf file from template, with root password credentials
template:
src: my.cnf.j2
dest: /root/.my.cnf