Execution
Date
11 Sep 2024 08:36:55 +0100
Duration
None
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
6
Tasks
396
Results
3
Plays
6
Files
0
Records
Task result details
-
StatusFAILED
-
Duration00:00:11.05
-
PlayPlaybook to generate inventory with Plesk servers only
-
TaskIf Plesk server, add name to inventory file
-
Date11 Sep 2024 08:37:45 +0100
-
Module / Actionansible.builtin.lineinfile (/home/ssh-gateway/ansible/kuly/create_canary_hosts.yaml:39)
| Field | Value |
|---|---|
| msg |
The conditional check 'inventory_hostname in random_hosts and plesk_found' failed. The error was: error while evaluating conditional (inventory_hostname in random_hosts and plesk_found): 'random_hosts' is undefined. 'random_hosts' is undefined
The error appears to be in '/home/ssh-gateway/ansible/kuly/create_canary_hosts.yaml': line 39, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
tasks:
- name: If Plesk server, add name to inventory file
^ here
|