diff --git a/playbooks/roles/mysql/tasks/main.yml b/playbooks/roles/mysql/tasks/main.yml index 1ffd6df..85cb917 100644 --- a/playbooks/roles/mysql/tasks/main.yml +++ b/playbooks/roles/mysql/tasks/main.yml @@ -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 }}" diff --git a/playbooks/roles/mysql/tasks/remove_mysql_55.yml b/playbooks/roles/mysql/tasks/remove_mysql_55.yml deleted file mode 100644 index 7272fba..0000000 --- a/playbooks/roles/mysql/tasks/remove_mysql_55.yml +++ /dev/null @@ -1,21 +0,0 @@ ---- - -# -# 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