-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Config options are ignored! #387
Comments
I'm seeing an issue with Ansible Resource Module in
|
Another strange thing, the 5.5 release notes point to this module being bumped to |
Hi @madsi1m Could you share the steps to reproduce the issue on rundeck 5.5? Thanks! |
Hi a colleague of mine did some tinkering with our config and got further than I. It seems our "final" problem is that ansible-plugin is wanting and setting I created this PR that fixes this problem #388 (tested on 5.5) |
My issue #389 seems to be also related to this one. According the Ansible Docs: ansible.builtin.ssh connection: ansible.builtin.winrm connection: I guess the ideal solution would be to have separate plugin attributes for each connection type, but until then, could the password be passed as 'ansible_password' as well? That variable seems to be used by all connection types. For SSH ansible_ssh_password was added in ansible 2.8, so for those using ssh, upgrading ansible should solve the problem And this is the commit by @ltamaster in which this was introduced: 0f25871 |
Hi I am struggling to get this new version working at all. v3 was fine.
Digging into the problem a bit it seems ansible-ssh-user/password in the job or project is ignored!
Adding in some debug it seems in src/main/groovy/com/rundeck/plugins/ansible/plugin/AnsibleResourceModelSource.java, function
configure
the variableconfiguration
only contains:which means things in the function
configure
sets most things to default values.Weirdly,
PropertyResolver.resolveProperty()
gets called, and adding some debug lines to that i can see it sees and extracts ansible-ssh-user/password correctly but doesn't seem to use it.I wonder if this is the same problem as:
Cheers
The text was updated successfully, but these errors were encountered: