Skip to content

Commit 6ff2ce2

Browse files
authored
Update main.yml
1 parent 613e725 commit 6ff2ce2

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

tasks/disk/main.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
---
2+
- name: Skip disk if in pipeline
3+
ansible.builtin.meta: end_play
4+
when:
5+
- in_pipeline | bool
6+
27
- name: Detect candidate block devices
38
ansible.builtin.set_fact:
49
candidate_disks: >-
@@ -42,8 +47,7 @@
4247
- name: Skip disk partitioning
4348
ansible.builtin.meta: end_play
4449
when:
45-
- in_pipeline | bool
46-
or single_root_disk
50+
- single_root_disk
4751

4852
- name: Ensure all packages are up to date
4953
become: true

0 commit comments

Comments
 (0)