update ansible mysql deps

parent 0e5d90f3
Showing with 1 additions and 7 deletions
...@@ -16,17 +16,11 @@ ...@@ -16,17 +16,11 @@
name: "{{ item }}" name: "{{ item }}"
state: present state: present
with_items: with_items:
- mysql-server-5.7 - mysql-server
- mysql-client - mysql-client
- python-mysqldb # required by ansible - python-mysqldb # required by ansible
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu' when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
- name: Add MySQL community repository
yum:
name: "http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm"
state: present
when: ansible_distribution == 'CentOS' and ansible_distribution_major_version == '7'
- name: Install mysql packages - name: Install mysql packages
yum: yum:
name: "{{ item }}" name: "{{ item }}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment