ansible-playbook劇本使用配置

1.基本語法,使用yaml格式文件 - hosts: all remote_user: root tasks: \- name: install httpd shell: yum install httpd \- name: copy conf copy: src='/etc/httpd/conf.d/http_tomcat.conf.bak' dest='/etc/httpd/conf.
相關文章
相關標籤/搜索