make include tasks dynamic when there is rescue
there is an ansible bug that prevents rescue in failing tasks from being called if the task is included. so change it to dynamic to run rescue in preprocessing. https://github.com/ansible/ansible/issues/16254 Change-Id: Ibdd0fa8b152004b450693498d61b84b204f74e9b
This commit is contained in:
parent
f8ed0de162
commit
a8e99d296e
@ -53,6 +53,7 @@
|
||||
# Prepare the swap space loopback disk
|
||||
# This is only necessary if there isn't swap already
|
||||
- include: prepare_loopback_swap.yml
|
||||
static: no
|
||||
when:
|
||||
- ansible_swaptotal_mb < 1
|
||||
tags:
|
||||
|
Loading…
x
Reference in New Issue
Block a user