Commit 3e17251b by arbabnazar

remove the logic that checks of MySQL 5.5

parent 3b30ebd0
......@@ -21,14 +21,6 @@
repo: 'deb http://ppa.launchpad.net/ondrej/mysql-5.6/ubuntu precise main'
update_cache: yes
- name: look for mysql 5.5
shell: dpkg -L mysql-server-5.5
ignore_errors: true
register: mysql_55_installed
- include: remove_mysql_55.yml
when: mysql_55_installed.rc != 1
- name: install mysql 56 and dependencies
apt:
name: "{{ item }}"
......
---
#
# Tasks for fully removing mysql 5.5 from environments
# conditionally included when 5.5 is installed on the
# target system
#
- name: stop mysql
service:
name: mysql
state: stopped
- name: remove prior version of mysql
apt:
name: "{{ item }}"
state: absent
purge: yes
with_items:
- mysql-server-5.5
- mysql-server
\ No newline at end of file
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 to comment