TASK [ansistrano.deploy : ANSISTRANO | RSYNC | Rsync application files to remote shared copy] ************************************************************************************************************************************************
fatal: [thehost-uat]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'bool object' has no attribute 'stdout'\n\nThe error appears to be in '/Users/name/.ansible/roles/ansistrano.deploy/tasks/update-code/rsync.yml': line 6, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: ANSISTRANO | RSYNC | Rsync application files to remote shared copy\n ^ here\n"}
We are seeing an error that appears only when
--check
mode is added.With
--check
And without
--check
, i.e. running normally: