当前位置:网站首页>Ansible basic configuration

Ansible basic configuration

2022-06-24 22:10:00 Love 107

1、 With all The host group is the target id command



2、 Use copy The module modifies... On all hosts /etc/motd The content of the document is welcome to ansible


3、 Use command Module view /etc/motd The content of the document



4、 Use user Module creation user wukong,uid by 2000



5、 Use yum Module installation httpd Package and use service Module starts the service

 

原网站

版权声明
本文为[Love 107]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/175/202206241606375637.html