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