privileged container switch

This commit is contained in:
Thorsten Müller
2021-04-26 18:00:40 +02:00
parent 0e80ae00ac
commit cde1b88a44
5 changed files with 13 additions and 4 deletions

View File

@@ -39,10 +39,10 @@
path: /container/volumes/slurm/
state: directory
- name: copy slurm config
copy:
- name: upload slurm config
template:
force: true
src: "{{item}}"
src: "{{item}}.j2"
dest: "/container/volumes/slurm/{{item}}"
loop:
- slurm.conf
@@ -70,6 +70,7 @@
state: started
detach: True
cleanup: True
privileged: "{{ container_privileged | ternary(True,False) }}"
networks_cli_compatible: True
vars:
default_mounts: