On 14. mars 2017 20:18, Shyam Yenna wrote:
I am encountering issues while trying to execute below task in a playbook.
- name: Setup OpenDJ
command: "setup --cli --propertiesFilePath /tmp/opendjsetup.props
--no-prompt"
args:
chdir: "{{ install_dir }}/opendj"
# creates: "{{ install_dir }}/opendj/config"
ignore_errors: yes
where install_dir=/opt
Error i am encountering is below. Any help is really appreciated.
Command module can't find setup, in PATH.
I guess you are trying to run the setup command in /opt/opendj ?
In that case add it should be commad: "{{ install_dir }}/opendj/setup
........
--
Kai Stian Olstad
--
You received this message because you are subscribed to the Google Groups "Ansible
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/d32dff81-627d-9bd2-94d0-a5b1000260c2%40olstad.com.
For more options, visit https://groups.google.com/d/optout.