Closed whysthatso closed 1 month ago
Hey @whysthatso - Interesting, I've not used this role myself with check mode. I think for the task in question we could use the skipping tasks in check mode.
Hey @whysthatso - Were you trying to run check mode before or after running this role?
I've included check
into the molecule test sequence (equivilent of running check mode) and the molecule tests are passing: https://github.com/dbrennand/ansible-role-autorestic/blob/52df4979331d5926c540cad99b2f0673aab2bac8/molecule/absent/molecule.yml#L28
https://github.com/dbrennand/ansible-role-autorestic/actions/runs/9362724849/job/25772021205
Hi @whysthatso - Please see my previous comment on check mode passing in molecule tests. Let me know if this needs to be re-opened. Thanks 🙂
currently task "Ensure restic is executable" is stopping the execution of a playbook run when
-C
is given.not exactly sure how to prevent this, i will try to look into that. there might be more tasks.