Skip to content

Commit 437206c

Browse files
committed
fix ansible lint - except includes
1 parent bf88bff commit 437206c

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

.ansible-lint

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
skip_list:
22
- '106' # Role name {} does not match ``^[a-z][a-z0-9_]+$`` pattern'
33
- 'fqcn-builtins'
4+
- 'key-order'
5+
- 'name[missing]'

meta/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ galaxy_info:
1111
min_ansible_version: 2.5.0
1212
platforms:
1313
- name: EL
14-
versions:
15-
- 7
14+
versions: ['7', '8']
1615
galaxy_tags:
1716
- openhpc
1817
- slurm

tasks/drain.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@
2020
register: drained_nodes
2121
until: "inventory_hostname in drained_nodes.stdout_lines"
2222
delay: "{{ openhpc_retry_delay }}"
23-
retries: "{{ (openhpc_drain_timeout/openhpc_retry_delay) | int }}"
23+
retries: "{{ (openhpc_drain_timeout / openhpc_retry_delay) | int }}"
2424
changed_when: false

tasks/resume.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@
2020
register: resumed_nodes
2121
until: "inventory_hostname in resumed_nodes.stdout_lines"
2222
delay: "{{ openhpc_retry_delay }}"
23-
retries: "{{ (openhpc_resume_timeout/openhpc_retry_delay) | int }}"
23+
retries: "{{ (openhpc_resume_timeout / openhpc_retry_delay) | int }}"
2424
changed_when: false

tasks/runtime.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
changed_when: true
137137
when:
138138
- openhpc_slurm_control_host in ansible_play_hosts
139-
- hostvars[openhpc_slurm_control_host].ohpc_slurm_conf.changed # noqa 503
139+
- hostvars[openhpc_slurm_control_host].ohpc_slurm_conf.changed # noqa no-handler
140140
notify:
141141
- Restart slurmd service
142142

@@ -164,7 +164,7 @@
164164
enabled: "{{ openhpc_slurm_service_enabled | bool }}"
165165
state: "{{ 'started' if openhpc_slurm_service_started | bool else 'stopped' }}"
166166

167-
- name: flush handler
167+
- name: Flush handler
168168
meta: flush_handlers # as then subsequent "ensure" is a no-op if slurm services bounced
169169

170170
- name: Ensure slurmdbd is started and running

0 commit comments

Comments
 (0)