This is basic installation of Apache Server with help of Ansible Adhoc command for students and beginners commands for install httpd package adhoc command syntax - ansible all -i hosts -m command -a "yum install httpd -y " -u root -k ansible all -i hosts -m command -a " systemctl start httpd " -u root -k