Open tabernarious opened 4 years ago
I committed and pushed a fix for the Travis CI build failure, which is showing in my branch, but is not showing here. Maybe it just takes time to trigger the updates...?
UPDATE: It just took some time. Branch updated and all checks have passed.
https://github.com/tabernarious/ansible-role-f5_atc_deploy_declaration/tree/default_server_port
Due to variable order of precedence, a
set_fact
used within a role cannot overwrite the provider included in a playbook as a role parameter. To work around this I set adefault_provider
indefaults/main.yml
, created arole_provider
dictionary intasks/main.yml
using thecombine
filter (to combine the defaults with the role parameters set in the playbook), and updated all of the references fromprovider.xxx
torole_provider.xxx
. I'm open to other ideas/methods.Also split off provider setup and set
no_log: true
to prevent accidental password leakage via-vv
etc. Note, this does not necessarily prevent debug from exposing the password.This pull includes the additions of
delegate_to: localhost
referenced in my other Pull Request:https://github.com/f5devcentral/ansible-role-f5_atc_deploy_declaration/pull/36