DevOps Engineer
Linux
DevOps
installations.sh
.installation.sh
Note that python is required to perform Ansible operations, hence it needs to be installed also.ansible-playbook.yml
and paste the code below. In this playbook, we are specifying two tasks (namely installing apache2
and starting apache2
) to be performed on the localhost.localhost
. This is because we are successfully logged into the host server. However, it is possible to run a playbook against multiple hosts. This is done with the use of an inventory file. Read more: Ansible Inventory.Posted Feb 27, 2025
In this blog post, we will configure an Apache web server on a Linux Machine (Azure Virtual Machine)...
0
0
DevOps Engineer
Linux
DevOps