Skip to content

Commit 63e848d

Browse files
committed
Remove empty line between ansible "when" and "block" added by ansible-lint --fix, it's not required by the linter.
1 parent d8a8196 commit 63e848d

File tree

4 files changed

+0
-9
lines changed

4 files changed

+0
-9
lines changed

ansible/bootstrap.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@
246246
- update
247247
tasks:
248248
- when: "update_enable | default('false') | bool"
249-
250249
block:
251250
- name: Update selected packages
252251
ansible.builtin.dnf:

ansible/roles/cluster_infra/tasks/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
- when:
1313
- cluster_floating_ip is defined
1414
- cluster_floating_ip
15-
1615
block:
1716
- name: Look up floating IP
1817
azimuth_cloud.terraform.os_floating_ip_info:

ansible/roles/compute_init/files/compute-init.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646

4747
tasks:
4848
- when: not enable_compute
49-
5049
block:
5150
- name: Report skipping initialization if not compute node
5251
# meta: end_play produces no output
@@ -75,7 +74,6 @@
7574
# finish, which allows site.yml to continue on initial deploy
7675

7776
- when: _mount_mnt_cluster.failed
78-
7977
block:
8078
- name: Report skipping initialization if cannot mount nfs
8179
# meta: end_play produces no output
@@ -91,7 +89,6 @@
9189
register: hostvars_stat
9290

9391
- when: not hostvars_stat.stat.exists
94-
9592
block:
9693
- name: Report skipping initialization if host vars does not exist
9794
# meta: end_play produces no output
@@ -130,7 +127,6 @@
130127

131128
- name: Configure resolve.conf
132129
when: enable_resolv_conf
133-
134130
block:
135131
- name: Set nameservers in /etc/resolv.conf
136132
ansible.builtin.template:
@@ -203,7 +199,6 @@
203199
when:
204200
- enable_manila
205201
- os_manila_mount_shares | length > 0
206-
207202
block:
208203
- name: Read manila share info from nfs file
209204
ansible.builtin.include_vars:
@@ -284,7 +279,6 @@
284279

285280
- name: EESSI
286281
when: enable_eessi
287-
288282
# NB: don't need conditional block on enable_compute as have already exited
289283
# if not the case
290284
block:

ansible/roles/zenith_proxy/tasks/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424

2525
- become: true
2626
when: zenith_proxy_mitm_enabled
27-
2827
block:
2928
- name: Create systemd unit file for MITM proxy
3029
ansible.builtin.template:

0 commit comments

Comments
 (0)