buy tb-500

How to install httpd using ansible

ansible groupname -i hosts -u user -m yum -a “name=httpd state=latest” -b

note: -a stand for arguments, -b stand for become a root, because need to be a root in order to install service

Leave a Reply