It seems like you're encountering an issue with the way the path is being interpreted in your Ansible playbook. The problem could be related to the leading slash (/) in the path, which may be causing the Ansible module to incorrectly interpret the path as relative rather than absolute. To resolve this, try modifying the path to remove the leading slash, so it looks like ifs/ansible_path1 instead of /ifs/ansible_path1.
Additionally, ensure that the user you're using has the appropriate permissions on the target directory. You could also verify that the OneFS host is properly configured to accept the API requests you're sending.
Travis-Stacy
1 Rookie
•
5 Posts
0
November 14th, 2024 14:23
It seems like you're encountering an issue with the way the path is being interpreted in your Ansible playbook. The problem could be related to the leading slash (
/) in the path, which may be causing the Ansible module to incorrectly interpret the path as relative rather than absolute. To resolve this, try modifying the path to remove the leading slash, so it looks likeifs/ansible_path1instead of/ifs/ansible_path1.Additionally, ensure that the user you're using has the appropriate permissions on the target directory. You could also verify that the OneFS host is properly configured to accept the API requests you're sending.