Repository navigation
[foreman] add backwards support for ssl_verify in foreman plugin - #7360
softwarefactory-delete-me[bot] merged 1 commit into
Conversation
|
Build failed.
|
|
|
||
| def inventory_as_dict(self, inventory_update, private_data_dir): | ||
| ret = super(satellite6, self).inventory_as_dict(inventory_update, private_data_dir) | ||
| ret['validate_certs'] = False |
There was a problem hiding this comment.
I don't think we need this line, and I'd rather leave it to the plugin's default in this case.
There was a problem hiding this comment.
Okay - I thought that since we're advertising the settings in https://github.com/ansible-collections/community.general/blob/master/scripts/inventory/foreman.ini#L124, that it made sense to pin validate_certs to the static value in that file (in case things do change in the plugin).
Then again, I can also see it making sense to follow the plug-in's behavior (and am happy to go either way).
Feel like we're stuck in this weird limbo right now where we want to support backwards compatiblity, but at some point it seems like we'll want to move on and adopt what's in the plugin without managing it / locking it down too much.
* plugin changed option name from ssl_verify to validate_cert
|
Build succeeded.
|
|
Build succeeded (gate pipeline).
|
If you wanted to ensure certificates were validated when using the satellite / foreman inventory:
ssl_verifysource_varvalidate_certsThis PR adds support for the old
ssl_verifysource_var in the plugin.SUMMARY
ISSUE TYPE
COMPONENT NAME
AWX VERSION