Skip to content

Commit 5483af6

Browse files
authored
Merge pull request #15 from stackhpc/ansible-2.9
Use state=present for Ansible 2.9
2 parents ae50dcb + 903a7af commit 5483af6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

tasks/compute.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
- name: Install OpenHPC compute image packages
33
yum:
44
name: "@ohpc-base-compute"
5-
state: installed
5+
state: present
66

77
- name: Install OpenHPC SLURM client packages
88
yum:
99
name: "@ohpc-slurm-client"
10-
state: installed
10+
state: present
1111

1212
- name: Select the SLURM service to control
1313
set_fact:
@@ -16,4 +16,4 @@
1616
- name: Install OpenHPC LMOD
1717
yum:
1818
name: "lmod-ohpc"
19-
state: installed
19+
state: present

tasks/control.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- "@ohpc-slurm-server"
66
- "slurm-slurmctld-ohpc"
77
- "slurm-example-configs-ohpc"
8-
state: installed
8+
state: present
99

1010
- name: Select the SLURM service to control
1111
set_fact:

tasks/runtime.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
- "munge-ohpc"
1515
- "slurm-slurmd-ohpc"
1616
- "slurm-example-configs-ohpc"
17-
state: installed
17+
state: present
1818

1919
- name: Ensure the Slurm spool directory exists
2020
file:

0 commit comments

Comments
 (0)