0down votefavorite 
<https://stackoverflow.com/questions/53264864/ansible-command-module-giving-errors-in-playbook#>

I am creating a playbook to silently execute a installation package using 
Command module. But here I am getting playbook execution error. Below is my 
playbook sample.

Here my aim is to execute the myibm silent package only if the specified 
path is not present "/opt/IBM/myibm". But here i am not able to run this 
play successfully, but the local manual command execution is success. so 
the issue with my playbook.
------------------------------

  - name: Silent installation
    hosts: myserver
    tasks:
     - name: execute the WEB installation package 
       command: installc -installationDirectory /opt/IBM/packagefile
       args:
        chdir: /opt/im/linux.gtk.x86_64/
        creates: /opt/IBM/myibm

-- 
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/1a91cf2a-6973-4dc2-b716-f7c5dbd55a07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to