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:
####################
# Define the user
####################
#
ansible gby-linux -a "useradd -d /home/davidl -m -s /bin/tcsh davidl"
#
#Supply the userid with a passwd
#################################
ansible gby-linux -a "echo abc123 l passwd davidl --stdin"
#
# Expire the userid
#################################
ansible gby-linux -a "/usr/chage -d 0 davidl"
#
#################################
#gby-linux would be a group
#of servers in /etc/ansible/hosts
#################################
I would for now just like to build in a check on each of the steps to see if the previous 'rc' was zero before continuing, but I just cannot get any examples.
Lastly, what would be a good link to get the basics right before starting.
Thank You in Advance
Kind Regards
Herbie