Execution
Date 08 May 2024 11:15:56 +0100
Duration 00:00:02.89
Controller ssh-gw-4.layershift.com
User root
Versions
Ansible 2.16.4
ara 1.7.1 / 1.7.2.dev2
Python 3.10.10
Summary
2 Hosts
4 Tasks
4 Results
1 Plays
1 Files
0 Records

Task result details


Field Value
msg
The task includes an option with an undefined variable. The error was: 'item' is undefined. 'item' is undefined

The error appears to be in '/home/ssh-gateway/ansible/projects/RM9556/RM9556.yaml': line 39, column 11, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

          with_items: "{{ ansible_play_hosts }}"
        - name: Copy the content to localfile
          ^ here