Open petromatviichuk opened 7 years ago
I'm having the same issue here is my configuration.
#Thu May 04 12:55:28 CEST 2017
#edit below
project.ansible-executable=/bin/bash
project.ansible-inventory=/opt/rundeck/server-jcid/hosts.ini
project.ansible-vault-path=/opt/rundeck/server-jcid/.vault_pass.txt
project.name=server-jcid
project.nodeCache.delay=30
project.nodeCache.enabled=true
project.ssh-authentication=privateKey
project.ssh-keypath=/var/lib/rundeck/.ssh/id_rsa
resources.source.1.config.ansible-become=false
resources.source.1.config.ansible-gather-facts=true
resources.source.1.config.ansible-ignore-errors=true
resources.source.1.config.ansible-inventory=/opt/rundeck/server-jcid/hosts.ini
resources.source.1.config.ansible-vault-path=/opt/rundeck/server-jcid/.vault_pass.txt
resources.source.1.type=com.batix.rundeck.plugins.AnsibleResourceModelSourceFactory
service.FileCopier.default.provider=com.batix.rundeck.plugins.AnsibleFileCopier
service.NodeExecutor.default.provider=com.batix.rundeck.plugins.AnsibleNodeExecutor
+1 same issue for me.
+1
Rundeck 2.8.2-1.31.GA (rpm) Ansible 2.3.1.0 Python 2.7 rundeck-ansible-plugin 2.0.2
@pmatv are you, by any chance, have a single encrypted variable? I do have similar issue and once i change it to full encrypted file, the problem gone.
@orhan89 actually no, at that time I used Ansible 2.2 without "single encrypted variable" feature. Btw due to this issue I had to change my setup by using SSH as default node executor and custom script for passing Ansible inventory to Rundeck resource model source.
Hi, Seems there is an issue with decrypting vault files during plugin usage. My environment:
I've configured test project on Rundeck with Ansible Resource Model Source. Here is Project configuration:
In the logs I see following:
Have tested with
ansible-vault-storage-path
but same behavior. Also tried to set in project.properties configuration e.g.project.ansible-vault-path = /home/rundeck/vault
but again without success.I am doing something in wrong way? Thanks.