June 2017
Intermediate to advanced
536 pages
9h 49m
English
With the newly pulled fvarovillodres.lamp rule, we should be able to effortlessly deploy a new web server. To do so, all it takes is creating a playbook, such as lamp.yaml, with its content as follows:
- hosts: mphp7 roles: - role: fvarovillodres.lamp become: yes
Now, we can easily run our lamp.yaml playbook via the following command:
ansible-playbook lamp.yml
This should trigger the tasks within the fvarovillodres.lamp role that we pulled from the Galaxy hub upon completion:

Finally, opening a http://45.76.88.214/ URL should give us an Apache page.
The overall topic of provisioning, or even Ansible, is a broad ...
Read now
Unlock full access