Inline encrypted variable not JSON serializable

后端 未结 3 1307
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-02 06:54

I\'m trying to understand how to encrypt single variables with vault. First I encrypt the string with ansible-vault encrypt_string -n -p, then I write the outpu

3条回答
  •  说谎
    说谎 (楼主)
    2021-01-02 07:10

    Double-quotes could explain this error but not for me. Look at the entire error/warning to see what is attempting to parse json. In my case....

    [WARNING]: Failure using method (v2_runner_on_ok) in callback plugin (): u'secret_value' is not JSON serializable

    An older AWX callback plugin called json.load and logged a warning along with secrets in plain text. It needed an upgrade.

提交回复
热议问题