ansible 远程rpm/服务管理
ansible <host> -m yum -a "name=. state=."[root@localhost ~]# ansible 192.168.127.129 -m yum -a "name=httpd state=installed"ansible <host> -m service -a "name=. state=. enabled=."[root@localhost ~]# ansible 192.168.127.129 -m service -a "name=httpd state=started enabled=yes"最后更新于