ansible all -m yum -a "name=httpd state=present" -b
ansible all -m service -a "name=httpd state=restarted" -b
vi /tmp/index.html
ansible all -m copy -a "src=/tmp/index.html dest=/var/www/html/index.html
access the tomcat server using localhost:80