diff --git a/molecule/generic_files/prepare.yml b/molecule/generic_files/prepare.yml index 8682ee8..1d5a43b 100644 --- a/molecule/generic_files/prepare.yml +++ b/molecule/generic_files/prepare.yml @@ -15,9 +15,15 @@ tasks: - name: Install required packages apt: - name: "{{ item }}" - state: installed - with_items: - - apache2 - - mysql-server - - automysqlbackup + name: + - apache2 + - mysql-server + - automysqlbackup + state: present + notify: start mysql + handlers: + - name: start mysql + service: + name: mysql + state: started + enabled: yes