标签:ansible playbook yum moudle
ansible playbook
web.yaml
[root@comk Desktop]# cat web.yaml
- name: web servers
remote_user: root
hosts: webservers
tasks:
- name: install httpd
yum: name=httpd state=present
- name: httpd service
service: name=httpd enabled=yes state=started
此非ansible的错误,在单个节点上执行也会报此错误,顾
更换各个节点(即 192.168.1.11 192.168.1.12) 的yum源为163的yum源后解决
本文出自 “净空蓝星” 博客,请务必保留此出处http://jingkonglanxing.blog.51cto.com/1152128/1743752
ansible playbook yummodule error
标签:ansible playbook yum moudle
原文地址:http://jingkonglanxing.blog.51cto.com/1152128/1743752