Use role vars
#3762
Replies: 1 comment 4 replies
-
Not exactly sure what you mean by provider, but if you are talking about using the vars from the role in the molecule playbooks (converge, cleanup, prepare, etc.) then you can include the vars from the role with ---
- name: Cleanup
hosts: all
vars_files:
- ../defaults/main.yml
- ../vars/main.yml |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to have the ansible provider use the vars from the role's defaults/main.yml and vars/main.yml ?
Beta Was this translation helpful? Give feedback.
All reactions