Execution
Date
13 Sep 2024 10:01:27 +0100
Duration
00:00:01.86
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
3
Tasks
3
Results
1
Plays
6
Files
0
Records
Task result details
-
StatusFAILED
-
Duration00:00:00.39
-
PlayRemove specific monitoring blocks
-
TaskBackup /etc/agent360-custom.ini with a timestamp
-
Date13 Sep 2024 10:01:29 +0100
-
Module / Actionansible.builtin.copy (/home/ssh-gateway/ansible/kuly/remove_ini_blocks.yaml:11)
| Field | Value |
|---|---|
| changed |
False |
| exception |
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/ansible/plugins/action/copy.py", line 466, in run
source = self._find_needle('files', source)
File "/usr/local/lib/python3.10/site-packages/ansible/plugins/action/__init__.py", line 1429, in _find_needle
return self._loader.path_dwim_relative_stack(path_stack, dirname, needle)
File "/usr/local/lib/python3.10/site-packages/ansible/parsing/dataloader.py", line 340, in path_dwim_relative_stack
raise AnsibleFileNotFound(file_name=source, paths=[to_native(p) for p in search])
ansible.errors.AnsibleFileNotFound: Could not find or access '/etc/agent360-custom.ini' on the Ansible Controller.
If you are using a module and expect the file to exist on the remote, see the remote_src option
|
| invocation |
{ "dest": "/etc/agent360-custom.ini.bak_1726042383", "mode": "0644", "module_args": { "dest": "/etc/agent360-custom.ini.bak_1726042383", "mode": "0644", "src": "/etc/agent360-custom.ini" }, "src": "/etc/agent360-custom.ini" } |
| msg |
Could not find or access '/etc/agent360-custom.ini' on the Ansible Controller. If you are using a module and expect the file to exist on the remote, see the remote_src option |