Exercise 1.4 - Running the apache-basic-playbook

Return to Workshop

Congratulations! You just wrote a playbook that incorporates some key Ansible concepts that you use in most, if not all, of your future playbooks. Before you get too excited though, we should probably make sure it actually runs. So, let’s do that now.

Section 1: Running your new apache playbook

Step 1: Run your playbook

Run your playbook, using the following command.

cd ~/apache-basic-playbook
ansible-playbook site.yml

Section 2: Review

If successful, you should see standard output that looks very similar to the following. If not, just let us know. We’ll help get things fixed up.

stdout 2
Figure 1: apache-basic-playbook stdout

Workshop Details

Domain Red Hat Logo
Workshop
Student ID

Return to Workshop