我正試圖在我的第一本劇本上進行設置。 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