Need help in passing the data produced by the playbook to the verifier. #2720
Unanswered
shreekanthts
asked this question in
Q&A
Replies: 2 comments
-
its probably not the smoothest way, but in converge.yml you can dump that value to a file (i.e. an ansible variable file). then from verify.yml you can include that vars file |
Beta Was this translation helpful? Give feedback.
0 replies
-
Setup fact caching and use set_fact to persist data between runs. There is nothing specific to molecule about that, each stage is another Ansible playbook call. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Our team recently started using molecule for the automation of roles (and playbook to run the roles).
In one of the task a resource gets created with a unique and random instanceId. The result contains the resource with its instanceId. Is there any way in which the verifier can access this data produced during the playbook run.
Beta Was this translation helpful? Give feedback.
All reactions