Skip to content
Snippets Groups Projects
Commit 458ca970 authored by Jupiter Hu's avatar Jupiter Hu
Browse files

fixed minor issues

parent 952b8a69
No related branches found
No related tags found
1 merge request!19fixed minor issues
---
- name: "Installing MySQL Debian"
apt: name="{{ item }}" update_cache=yes cache_valid_time=3600 state=present
with_items: client_packages
with_items: "{{ client_packages }}"
sudo: true
when: ansible_os_family == "Debian"
- name: Installing MySQL RedHat
yum: name="{{ item }}" state=present
with_items: client_packages
with_items: "{{ client_packages }}"
sudo: true
when: ansible_os_family == "RedHat"
---
- name: "Installing MySQL Debian"
apt: name="{{ item }}" update_cache=yes cache_valid_time=3600 state=present
with_items: server_packages
with_items: "{{ server_packages }}"
sudo: true
when: ansible_os_family == "Debian"
- name: Installing MySQL RedHat
yum: name={{ item }}
with_items: server_packages
with_items: "{{ server_packages }}"
sudo: true
when: ansible_os_family == "RedHat"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment