Forum Discussion
TNSOPS
Jan 30, 2023Altostratus
Bash/ Shell commands - Error using ansible.builtin.command module "No such File or directory"
(venv) $ vi f5_shell.yml --- - name: MY TEST PLAYBOOK hosts: f5 gather_facts: false connection: local vars: ansible_python_interpreter: $(which python) provider: server: "{{ansible_host}}" ...
Paulius
Jan 31, 2023MVP
TNSOPS I have not had the opportunity to mess with ansible but the instances where I have seen a file issue is because the full path has not been specified, which it looks as though it has, or the user that is attempting to access this file does not have permission to the specific directory path. I would also double check that your file does indeed end with .txt because typically text files on an F5 are save without a file extension by default.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects