Skip to content

Commit 93fc6b2

Browse files
committed
[proot] split gather facts logic into is_proot and not is_proot
1 parent 9ba515d commit 93fc6b2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

iiab-stages.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,19 @@
1212
- /etc/iiab/iiab_state.yml
1313

1414
pre_tasks:
15+
- name: Gather facts (normal)
16+
setup:
17+
gather_subset:
18+
- 'all'
19+
when: not is_proot
20+
1521
- name: Gather minimal facts (proot)
1622
setup:
1723
gather_subset:
1824
- 'all'
1925
- '!hardware'
2026
- '!network'
27+
when: is_proot
2128

2229
- name: Compute memory and swap facts when hardware subset is missing
2330
when: ansible_swaptotal_mb is not defined or ansible_memtotal_mb is not defined

0 commit comments

Comments
 (0)