Install Ansible and run ADHOC commands to setup httpd server

DevOps

MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings

From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.

With Motoshare, every parked vehicle finds a purpose. Owners earn. Renters ride.
🚀 Everyone wins.

Start Your Journey with Motoshare
1.ansible localhost -m ansible.builtin.group -a"name=deploy state=present" -b
2.ansible localhost -m ansible.builtin.user -a "name=deploy-user password=devops@345 group=deploy state=present shell=/bin/bash" -b
3.ansible localhost -m yum -a"state=present name=httpd" -b
4.ansible localhost -m service -a"name=httpd state=started" -b
5.ansible localhost -m file -a"path=/var/www/html state=directory"
6.ansible localhost -m copy -a"dest=/var/www/html src=second.html" -b
7.ansible localhost -m yum -a"state=present name=git" -b
  ansible localhost -m yum -a"state=present name=wget" -b
8.ansible localhost -m ansible.builtin.git -a"repo=https://github.com/scmgalaxy/ansible-role-template dest=/home/centos/sreepada clone=yes" -b
9.ansible localhost -m rebootCode language: JavaScript (javascript)