diff --git a/molecule/ec2-centos-7/playbook.yml b/molecule/ec2-centos-7/playbook.yml index 2332ef5..90b9dcb 100644 --- a/molecule/ec2-centos-7/playbook.yml +++ b/molecule/ec2-centos-7/playbook.yml @@ -2,4 +2,5 @@ - name: Converge hosts: all roles: + - role: xoxys.mongodb - role: xoxys.unifi diff --git a/tasks/install.yml b/tasks/install.yml index 55cf236..6c5453c 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -28,7 +28,7 @@ - name: Cleanup file: path: /tmp/UniFi.unix.zip - state: + state: absent when: unifi_version is version(unifi_current_version, ">") or unifi_current_version is version('0.0.0', "=") become: True become_user: "{{ unifi_user }}"