trying to remove mysql from a previous install
--
- hosts: all
become: true
vars_files:
- vars/default.yml
tasks:
- name: Uninstall MySQL packages.
apt: name={{ item }} state=absent
with_items:
- mysql-server
- mysql-client
but not working
[Uninstall MySQL packages.]
****************************************************************************************************************
[DEPRECATION WARNING]: Invoking "apt" only once while using a loop via
squash_actions is deprecated. Instead of using a loop to supply multiple
items and specifying `name: "{{ item }}"`, please use `name:
['mysql-server', 'mysql-client']` and remove the loop. This feature will be
removed
in version 2.11. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
ok: [ubuntu2] => (item=[u'mysql-server', u'mysql-client'])
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/CALmkhkrCLRKxcYdgxW4C%2BjgvDgRu8_F%2BC-C8kNVdsV37HbGHqg%40mail.gmail.com.