buffer

Ansible: Unexpected templating type error: expected string or buffer

為{幸葍}努か 提交于 2020-08-07 05:25:40
问题 I have a register with the following contents: ok: [hostname] => { "changed": false, "msg": { "changed": true, "cmd": "cd /tmp\n ./status.sh dev", "delta": "0:00:00.023660", "end": "2018-11-28 17:46:05.838934", "rc": 0, "start": "2018-11-28 17:46:05.815274", "stderr": "", "stderr_lines": [], "stdout": "application is not running. no pid file found", "stdout_lines": [ "application is not running. no pid file found" ] } } When i see the substring "not" in the register's stdout, i want to