Skip to content

Commit

Permalink
Use diff method
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysmeister committed Jul 25, 2024
1 parent 093874e commit b382adc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion roles/mongodb_auth/molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,13 @@
- name: Install pymongo
pip:
name: pymongo
break_system_packages: true # naughty
when:
- ansible_hostname != "debian12"

- name: Install pymongo on Debian 12
ansible-builtin.command: pip install pymongo --break-system-packages
when:
- ansible_hostname == "debian12"

- name: Enable mongo auth
include_role:
Expand Down

0 comments on commit b382adc

Please sign in to comment.