user/group mapping for nomad
This commit is contained in:
parent
14e57e3680
commit
64e34c8b97
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
||||||
gid: "{{ item.id }}"
|
gid: "{{ item.id }}"
|
||||||
system: True
|
system: True
|
||||||
loop: "{{ nomad_ug_map }}"
|
loop: "{{ nomad_ug_map }}"
|
||||||
|
when: nomad_ug_map is defined
|
||||||
|
|
||||||
- name: setup user mappings
|
- name: setup user mappings
|
||||||
user:
|
user:
|
||||||
|
@ -12,6 +13,7 @@
|
||||||
uid: "{{ item.id }}"
|
uid: "{{ item.id }}"
|
||||||
system: True
|
system: True
|
||||||
loop: "{{ nomad_ug_map }}"
|
loop: "{{ nomad_ug_map }}"
|
||||||
|
when: nomad_ug_map is defined
|
||||||
|
|
||||||
- name: ensure mounts
|
- name: ensure mounts
|
||||||
file:
|
file:
|
||||||
|
@ -21,4 +23,5 @@
|
||||||
group: "{{ item.owner }}"
|
group: "{{ item.owner }}"
|
||||||
mode: 0755
|
mode: 0755
|
||||||
loop: "{{ nomad_bind_mounts }}"
|
loop: "{{ nomad_bind_mounts }}"
|
||||||
|
when: nomad_bind_mounts is defined
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in a new issue