This repository includes simple ansible playbooks to exercise modules and commands.
Use these playbooks to automate the following actions for Centos7:
yum install httpd -y
systemctl enable httpd
systemctl start apache
cp /etc/passwd /tmp/copy_passwd
mkdir /tmp/test-ansible
yum install yum-cron -y
systemctl enable yum-cron
systemctl start yum-cron
yum install ntp -y
systemctl enable ntpd
systemctl restart ntpd
Feel free to clone and work on the playbooks.