-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Describe the bug
Ansible cloudformation_facts no longer returns any result, causing an error in the subsequent Ansible steps that require the result.
To Reproduce
Run any stack manager messenger action.
Expected behavior
For the action to be completed successfully. However, it ended up in error:
TASK [cbus-aoc-fs-dev1 - test-readiness-full-set: Retrieve Main Stack CloudFormation resources facts] ***
[DEPRECATION WARNING]: The 'cloudformation_facts' module has been renamed to
'cloudformation_info', and the renamed one no longer returns ansible_facts.
This feature will be removed from amazon.aws in a release after 2021-12-01.
Deprecation warnings can be disabled by setting deprecation_warnings=False in
ansible.cfg.
ok: [127.0.0.1] => changed=false
ansible_facts:
cloudformation: {}
TASK [set_fact] ****************************************************************
fatal: [127.0.0.1]: FAILED! =>
msg: |-
The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'aoc-stack-mgr-1-aem-stack-manager-main-stack'
The error appears to be in '/tmp/shinesolutions/aem-opencloud-manager/aem-stack-manager-messenger/provisioners/ansible/playbooks/send-message.yaml': line 35, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- set_fact:
^ here
PLAY RECAP *********************************************************************
127.0.0.1 : ok=3 changed=0 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0
make: *** [check-readiness-full-set] Error 2
Screenshots
N/A
Environment (please complete the following information if relevant):
N/A
Additional context
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels