- Run an ansible add-hoc command to install httpd on web group
- Create a playbook to:
- an encrypted file "secure" with variable "shipclass" set to "truman"
- Create a file in /var/www/html/shipclass.html using variables in the encrypted file.
- install on
web
group
- Create a playbook:
- Install MariaDB server with the password of
m4rzN4vy
for root - drop anonymous tables.
- install on
database
group - Add error handling for dropping anonymous tables
- Create a playbook to:
- Add
tony
,steve
, andnat
as users - Make ure that
tony
can sudo as root. - Make sure that
nat
can sudo, but be prompted for the password - password are as follows:
st4Rk
,r0geR5
,RoMan0v@
- install on bastion host
- Install torquebox role using the following URL: https://github.com/juggy/torquebox-ansible/archive/master.zip
- put it on
app
group
- Consolidate 2-4 into a single play
- Give it the ability to run each playbook using tags
- Run it against all hosts
- Create a playbook too
- get the output of
ps aux
- save the output into
/tmp/process_snapshot.txt
- run it against all hosts