Skip to content
Snippets Groups Projects
Commit ace0d8ae authored by Théo - Le Filament's avatar Théo - Le Filament
Browse files

fix dockremap in check mode

parent de042881
No related branches found
No related tags found
No related merge requests found
......@@ -170,7 +170,7 @@
connection: local
become: false
delegate_to: localhost
when: docker_userns_remap and dockremap_subuid_output.stdout is defined
when: docker_userns_remap and dockremap_subuid_output.stdout is defined and not ansible_check_mode
- name: Save gid to hostvars for dockremap user
lineinfile:
......@@ -182,4 +182,4 @@
connection: local
become: false
delegate_to: localhost
when: docker_userns_remap and dockremap_subgid_output.stdout is defined
when: docker_userns_remap and dockremap_subgid_output.stdout is defined and not ansible_check_mode
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment