'changed_when' is not a valid attribute for a IncludeRole
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Triaged
|
Medium
|
wes hayutin |
Bug Description
This error occurs in triplo-quickstart when running against Ansible 2.8
changed_when is clearly not a member of include_role. More recent versions of Ansible have been more aggressive about reporting invalid parameters. My guess is that this was previously a nn-op and was silently ignored but now it's a hard error.
I believe the solution is simple, simply delete the changed_when line. To the best of my knowledge the include_* Ansible commands were never meant to generate notifications, instead the content being included is responsible for notifications.
Here is the error:
TASK [setup/undercloud : include_tasks] *******
task path: /home/jdennis/
Monday 20 May 2019 14:20:52 -0400 (0:00:03.198) 0:40:10.716 ************
fatal: [warp]: FAILED! => {
"reason": "'changed_when' is not a valid attribute for a IncludeRole\n\nThe error appears to be in '/home/
}
Changed in tripleo: | |
milestone: | train-2 → train-3 |
Yes, ansible versions support various features.
We are working to bring support up to 2.7.x then will get to 2.8
For now you will have to use the version in the requirments.txt. Sorry for that.