fix typo
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-07-16 17:21:48 +02:00
parent 7cf7c56972
commit f3b8ad5c51

View File

@ -41,21 +41,21 @@
- name: Add namespace group
group:
name: "{{ dockerengine_remap_user }}"
name: "{{ dockerengine_nsremap_user }}"
state: "{{ 'present' if dockerengine_usernamespace_enabled | bool else 'absent' }}"
- name: Add namespace user
user:
name: "{{ dockerengine_remap_user }}"
group: "{{ dockerengine_remap_user }}"
name: "{{ dockerengine_nsremap_user }}"
group: "{{ dockerengine_nsremap_user }}"
shell: /sbin/nologin
state: "{{ 'present' if dockerengine_usernamespace_enabled | bool else 'absent' }}"
- name: Configure namespace id range
lineinfile:
dest: "{{ item }}"
regexp: "^{{ dockerengine_remap_user }}:"
line: "{{ dockerengine_remap_user }}:{{ dockerengine_nsremap_range_start }}:{{ dockerengine_nsremap_range_length }}"
regexp: "^{{ dockerengine_nsremap_user }}:"
line: "{{ dockerengine_nsremap_user }}:{{ dockerengine_nsremap_range_start }}:{{ dockerengine_nsremap_range_length }}"
state: "{{ 'present' if dockerengine_usernamespace_enabled | bool else 'absent' }}"
loop:
- /etc/subuid