Change setup to my local centos7 VM
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
mode: u=rw,g=,o=
|
||||
|
||||
- file:
|
||||
path: /container/volumes/munge
|
||||
path: /home/centos7/volumes/munge
|
||||
state: directory
|
||||
owner: munge
|
||||
group: munge
|
||||
@@ -33,17 +33,17 @@
|
||||
force: true
|
||||
mode: preserve
|
||||
src: /etc/munge/munge.key
|
||||
dest: /container/volumes/munge/munge.key
|
||||
dest: /home/centos7/volumes/munge/munge.key
|
||||
|
||||
- file:
|
||||
path: /container/volumes/slurm/
|
||||
path: /home/centos7/volumes/slurm/
|
||||
state: directory
|
||||
|
||||
- name: upload slurm config
|
||||
template:
|
||||
force: true
|
||||
src: "{{item}}.j2"
|
||||
dest: "/container/volumes/slurm/{{item}}"
|
||||
dest: "/home/centos7/volumes/slurm/{{item}}"
|
||||
loop:
|
||||
- slurm.conf
|
||||
- cgroup.conf
|
||||
@@ -90,8 +90,8 @@
|
||||
networks_cli_compatible: True
|
||||
vars:
|
||||
default_mounts:
|
||||
- /container/volumes/slurm/:/etc/slurm/:rw
|
||||
- /container/volumes/munge/munge.key:/etc/munge/munge.key:rw
|
||||
- /home/centos7/volumes/slurm/:/etc/slurm/:rw
|
||||
- /home/centos7/volumes/munge/munge.key:/etc/munge/munge.key:rw
|
||||
- slurm-shared:/shared/:rw
|
||||
slurm_nodes_all: | # add execute nodes
|
||||
{% for i in range(1, 4) -%}
|
||||
|
Reference in New Issue
Block a user