Execution
Date 11 Sep 2024 11:05:52 +0100
Duration 00:01:06.22
Controller ssh-gw-4.layershift.com
User root
Versions
Ansible 2.16.4
ara 1.7.1 / 1.7.1
Python 3.10.10
Summary
139 Hosts
4 Tasks
415 Results
2 Plays
6 Files
0 Records

Task result details

  • Status
    FAILED
  • Duration
    00:00:00.06
  • Play
    Debug collected hostnames
  • Task
    Display collected hostnames
  • Host
    localhost

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

The error appears to be in '/home/ssh-gateway/ansible/kuly/test2.yaml': line 19, column 7, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  tasks:
    - name: Display collected hostnames
      ^ here