diff --git a/molecule/default/cleanup.yml b/molecule/default/cleanup.yml index c6ca727..15d7c57 100644 --- a/molecule/default/cleanup.yml +++ b/molecule/default/cleanup.yml @@ -5,16 +5,19 @@ tasks: - name: Check if the docker-compose file exists. ansible.builtin.stat: - path: "~/authentik/docker-compose.yml" + path: "~/plausible/docker-compose.yml" register: docker_compose_file - - name: Remove authentik docker-compose. + + - name: Remove docker-compose. community.docker.docker_compose: - project_src: ~/authentik/ + project_src: ~/plausible/ build: false state: absent when: docker_compose_file.stat.exists become: false + - name: Remove the docker-compose file ansible.builtin.file: - path: "~/authentik/docker-compose.yml" + path: "~/plausible/docker-compose.yml" state: absent + when: docker_compose_file.stat.exists diff --git a/molecule/requirements.yml b/molecule/requirements.yml index 56caaf8..a6284de 100644 --- a/molecule/requirements.yml +++ b/molecule/requirements.yml @@ -1,5 +1,4 @@ --- roles: - geerlingguy.docker -collections: - - community.docker \ No newline at end of file +collections: []