Skip to content
Extraits de code Groupes Projets
Valider 166cf4d2 rédigé par Rémi - Le Filament's avatar Rémi - Le Filament
Parcourir les fichiers

Fix inverted condition

parent d6ddb634
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -135,12 +135,12 @@
- name: Retrieve subuid for dockremap
command: grep dockremap /etc/subuid
register: dockremap_subuid_output
when: not docker_userns_remap
when: docker_userns_remap
- name: Retrieve subgid for dockremap
command: grep dockremap /etc/subgid
register: dockremap_subgid_output
when: not docker_userns_remap
when: docker_userns_remap
- name: Save uid to hostvars for dockremap user
lineinfile:
......@@ -152,7 +152,7 @@
connection: local
become: false
delegate_to: localhost
when: not docker_userns_remap and dockremap_subuid_output.stdout is defined
when: docker_userns_remap and dockremap_subuid_output.stdout is defined
- name: Save gid to hostvars for dockremap user
lineinfile:
......@@ -164,4 +164,4 @@
connection: local
become: false
delegate_to: localhost
when: not docker_userns_remap and dockremap_subgid_output.stdout is defined
when: docker_userns_remap and dockremap_subgid_output.stdout is defined
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter