Skip to content
Snippets Groups Projects
Commit 7b71efa6 authored by Andreas Hamacher's avatar Andreas Hamacher
Browse files

security group update and removal of run_once

parent ff29cb95
No related branches found
No related tags found
3 merge requests!310Gpu2,!308Youshallnotchanged,!304Gpu
...@@ -10,13 +10,16 @@ resources: ...@@ -10,13 +10,16 @@ resources:
name: "heatslurmsecgroup" name: "heatslurmsecgroup"
rules: [ { protocol: tcp, rules: [ { protocol: tcp,
port_range_min: 12000, port_range_min: 12000,
port_range_max: 12999}, port_range_max: 12999,
remote_mode: "remote_group_id"},
{ protocol: tcp, { protocol: tcp,
port_range_min: 6817, port_range_min: 6817,
port_range_max: 6819}, port_range_max: 6819,
remote_mode: "remote_group_id"},
{ protocol: tcp, { protocol: tcp,
port_range_min: 1019, port_range_min: 1019,
port_range_max: 1019}] port_range_max: 1019,
remote_mode: "remote_group_id"}]
NFSSecGroup: NFSSecGroup:
type: "OS::Neutron::SecurityGroup" type: "OS::Neutron::SecurityGroup"
properties: properties:
......
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
- name: create shared state directory - name: create shared state directory
file: path={{slurmsharedstatedir }} state=directory owner=slurm group=slurm mode=750 file: path={{slurmsharedstatedir }} state=directory owner=slurm group=slurm mode=750
become: true become: true
run_once: true
when: usesharedstatedir is defined and usesharedstatedir when: usesharedstatedir is defined and usesharedstatedir
- name: symlink shared state dir - name: symlink shared state dir
......
...@@ -60,6 +60,7 @@ ...@@ -60,6 +60,7 @@
shell: "{{slurm_dir}}/bin/sacctmgr show cluster -p | wc -l" shell: "{{slurm_dir}}/bin/sacctmgr show cluster -p | wc -l"
register: slurm_cluster_count register: slurm_cluster_count
check_mode: no check_mode: no
changed_when: false
- debug: - debug:
var: slurm_cluster_count var: slurm_cluster_count
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment