[SKIP CI] fix task naming
This commit is contained in:
parent
a6eba18e2d
commit
92452bcf63
@ -46,14 +46,14 @@
|
|||||||
state: present
|
state: present
|
||||||
when: dockerengine_usernamespace_enabled | bool
|
when: dockerengine_usernamespace_enabled | bool
|
||||||
|
|
||||||
- name: Add namespace user
|
- name: "{{ 'Add' if dockerengine_usernamespace_enabled | bool else 'Remove' }} namespace user"
|
||||||
user:
|
user:
|
||||||
name: "{{ dockerengine_nsremap_user }}"
|
name: "{{ dockerengine_nsremap_user }}"
|
||||||
group: "{{ dockerengine_nsremap_user }}"
|
group: "{{ dockerengine_nsremap_user }}"
|
||||||
shell: /sbin/nologin
|
shell: /sbin/nologin
|
||||||
state: "{{ 'present' if dockerengine_usernamespace_enabled | bool else 'absent' }}"
|
state: "{{ 'present' if dockerengine_usernamespace_enabled | bool else 'absent' }}"
|
||||||
|
|
||||||
- name: Add namespace group
|
- name: Remove namespace group
|
||||||
group:
|
group:
|
||||||
name: "{{ dockerengine_nsremap_user }}"
|
name: "{{ dockerengine_nsremap_user }}"
|
||||||
state: absent
|
state: absent
|
||||||
|
Loading…
Reference in New Issue
Block a user