diff --git a/tasks/install.yml b/tasks/install.yml index 269922ba56e75ce59cd907c65163bcaf6a5569a4..8249210ad0b14346393c1eae572e896f60e6bf49 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -4,7 +4,7 @@ - name: "MySQL | Install required packages" apt: pkg='mysql-server' - state='installed' + state='present' # The following should also work for the new mechanism of MySQL 5.7 where # the auth plugin for root@localhost is initially set to socket mode. diff --git a/tasks/main.yml b/tasks/main.yml index b9777aed1fd84d3a64295680931c1583873605c5..40b3e8ee4c7e8248587afeaed5d550a4a79eca15 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -19,7 +19,7 @@ - name: "MySQL | Update required packages" apt: pkg='{{ item }}' - state=installed + state=present with_items: - 'mysql-server' - 'mytop'