Skip to content

Config options are ignored! #387

Open
@madsi1m

Description

@madsi1m

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 variable configuration only contains:

ansible-config-file-path=/var/lib/rundeck/work/Ansible_playboo...
ansible-binaries-dir-path=/srv/python/ansible2.14/bin
ansible-inventory=/var/lib/rundeck/work/Ansible_playboo...
project=Ansible_playbooks
ansible-ignore-errors=true
ansible-gather-facts=false

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions