我正试图在我的第一本剧本上进行设置。 Hovever ......不管我试图测试哪些例子..我收到类似的错误: "xyz is not a valid attribute for a Play"
例如: $ cat a2.yml
- name: Update and upgrade
become: true
apt:
upgrade: yes
upda
我想写安装Apache一个剧本,但我得到了以下错误: The offending line appears to be:
tasks:
- name: command to install apache
^here
这里是我的YAML代码: ---
- hosts: all
tasks:
- name: command to install apa