Open dcrask opened 5 years ago
Hi
Cam you share a code snippet of how you invoke this role ? Working fine on our end as-is:
This is how we invoke it:
It has been awhile since I messed with this but looks like we are invoking the same way. Here is the YAML I used, I must have borrowed from the install fixpack, and you will need to make the role changes from my initial post to make this work.
name: Install License files to all playbooks hosts: "{{host_group}}" vars_prompt:
name: "username" prompt: "What is your username?" private: no
name: password prompt: "What is your password?" connection: local gather_facts: no roles:
start_config
role: install_license license: "/license_file_location.isslicense"
The role for install_license role needs to have the ...install_license/default/main.yml updated to "license: null" vs "install_license_file: null" to match the ...install_license/tasks/main.yml in order to run properly.