Validation is Incorrect on conditional


Please fix the conditional assertion check.

Please mention the lab you mean and the number of the question to help you properly.

I had this issue as well. I looked at the logs and “Verify Tasks” is looking for mode 775 instead of 755. I added this task to correct it and the validation worked.

- name: Set 0775 if not already
    path: "{{remote_dest}}"
    mode: '0775'
  when: file_status.stat.mode != "0775"