feat(cleanup): gate RHEL ISO disk and fstab handling on rhel_repo.source

This commit is contained in:
2026-02-20 21:51:20 +01:00
parent d076ac8fef
commit a1fbb7c21d
3 changed files with 24 additions and 7 deletions

View File

@@ -44,7 +44,8 @@
'state': 'absent'
}
]
if rhel_iso is defined and rhel_iso | length > 0
if (rhel_iso is defined and rhel_iso | length > 0
and not (os == 'rhel' and system_cfg.features.rhel_repo.source == 'iso'))
else []
)
}}