Related Posts Plugin for WordPress, Blogger...


Question: [WARNING]: The value True (type bool) in a string field was converted to 'True' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change.

在 Ansible AWX 環境執行 Playbook 時,出現下列警告訊息 (雖然 Playbook 執行成功)?


[WARNING]: The value True (type bool) in a string field was converted to 'True' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change.



Answer:

簡單來說,產生這個警告訊息是 ipmi_power 模組中「state: on」關鍵字所導致,只要改成「state: 'on'」(為 on 關鍵字前後加上單引號) 即可順利執行,並且不會產生警告訊息。



文章標籤: