我正在進行REST調用,並希望在繼續之前檢查我的請求是否完成。在響應中,我得到了一個「PENDING」或「IN_PROGRESS」作爲request_status。我想等到我完成「完成」或「失敗」。爲此,我想等,同時得到一個「待定」或「IN_PROGRESS」 我試過很多的變化,但無法成功,最後一次嘗試是如下: - name: Wait for the cluster deployment (th
我第一次嘗試使用Ansible。當我試圖運行一個劇本,我得到這個錯誤: ERROR! this task 'apt_repository' has extra params, which is only allowed in the following modules: command, shell, script, include, include_vars, add_host, group_b