Execution
Date
24 Jul 2025 09:59:33 +0100
Duration
00:00:02.95
Controller
ssh-gw-4.layershift.com
User
root
Versions
Ansible
2.16.11
ara
1.7.2 / 1.7.2
Python
3.10.10
Summary
1
Hosts
7
Tasks
7
Results
1
Plays
1
Files
0
Records
Task result details
-
StatusFAILED
-
Duration00:00:00.06
-
PlaySearch for diskusage block in file and replace it
-
TaskCreate backup of original file
-
Date24 Jul 2025 09:59:36 +0100
-
Module / Actionansible.builtin.copy (/home/ssh-gateway/ansible/kuly/RM10092_agent360_conf_change.yaml:47)
| Field | Value |
|---|---|
| msg |
The task includes an option with an undefined variable. The error was: {{ config_file }}.backup_{{ ansible_date_time.iso8601_basic_short }}: 'ansible_date_time' is undefined. 'ansible_date_time' is undefined. {{ config_file }}.backup_{{ ansible_date_time.iso8601_basic_short }}: 'ansible_date_time' is undefined. 'ansible_date_time' is undefined
The error appears to be in '/home/ssh-gateway/ansible/kuly/RM10092_agent360_conf_change.yaml': line 47, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Create backup of original file
^ here
|