Hi there
I literally jut started with Ansible, and I can already see it is going to be a long road to get where I can use if to install jboss
I am therefore not ready for playbooks yet, and just like to execute the commands like this for now:
Hi there
I literally jut started with Ansible, and I can already see it is going to be a long road to get where I can use if to install jboss
I am therefore not ready for playbooks yet, and just like to execute the commands like this for now:
running adhoc as you do here there is only the return code from ansible itself, which should reflect if the task failed or not.
In a playbook you can register a variable for each task and check against the |success filter on the next.
Before you go down this road any longer, please consider using a
playbook with your passwords stored in ansible-vault. In this case
the password is visible in the .bash_history or similar, also in the
process list. Not safe...
Johannes