Error on after-reboot script

I’m consistently getting this error on the after-reboot script:

TASK [thp : update grub] ********************************************************************************************************************************************************************
fatal: [197.211.237.144]: FAILED! => {"msg": "The conditional check 'grub_updated is changed' failed. The error was: The 'changed' test expects a dictionary\n\nThe error appears to be in '/home/ccc/commcare-cloud/src/commcare_cloud/ansible/roles/thp/tasks/main.yml': line 40, 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: update grub\n  ^ here\n"}

The contents of the main.yml is as follows (cursor is on line 40, col 3):

Anyone else getting this?

I’ll take a look Ed.

1 Like

This was a typo which has now been fixed: https://github.com/dimagi/commcare-cloud/pull/3242

1 Like

Great, thanks Simon!