You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TASK [dev-sec.os-hardening : include_tasks] *******************************************************************************************
fatal: [ec2-xx-xx-xx-115.eu-central-1.compute.amazonaws.com]: FAILED! => {"failed": true, "reason": "The field 'loop' is supposed to be a string type, however the incoming data structure is a <class 'ansible.parsing.yaml.objects.AnsibleSequence'>\n\nThe error appears to have been in '/home/user/playbooks/roles/dev-sec.os-hardening/tasks/minimize_access.yml': line 3, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# Using a two-pass approach for checking directories in order to support symlinks.\n- include_tasks: find_files.yml\n ^ here\n"}
This is the code-segment:
1 ---
2 # Using a two-pass approach for checking directories in order to support symlinks.
3 - include_tasks: find_files.yml
4 loop_control:
5 loop_var: outer_item
6 loop:
7 - '/usr/local/sbin'
8 - '/usr/local/bin'
9 - '/usr/sbin'
10 - '/usr/bin'
11 - '/sbin'
12 - '/bin'
13 - '{{ os_env_extra_user_paths }}'
Any hint what is wrong here?
thanks.
Hartmut
The text was updated successfully, but these errors were encountered:
Hi folks,
i am getting this error on a was-instance:
This is the code-segment:
Any hint what is wrong here?
thanks.
Hartmut
The text was updated successfully, but these errors were encountered: