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:
parent
379102824c
commit
e101d2f42c
1 changed files with 126 additions and 128 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue