Where are you writing/executing your file? Is it in a path owned by the user? I would recommend creating a folder on your Desktop and re-try the playbook/variable file in that location and see if you get the same error?
------------------------------
Ti Chiapuzio-Wong (they/them)
HPE Aruba Networking
------------------------------
Original Message:
Sent: Jul 10, 2023 04:21 PM
From: mk53202
Subject: Ansible and Aruba
I'm using the CLI. Just regular ansible-playbook CLI. Only error I'm getting is path cannot be found, even though I've tried all the combination of path with ./ / and even fully qualified in single quotes. Does someone have an example of changed the hostname of a device in central that is already provisioned. Just not finding a lot of documentation at all.
Original Message:
Sent: Jul 07, 2023 01:43 PM
From: Tiffany.Chiapuzio-Wong
Subject: Ansible and Aruba
@mk53202 !
Are you using Ansible CLI to execute or are you using a GUI? Since the GUI creates a venv during runtime the variable path might be different. Also can you provide the error you receive?
------------------------------
Ti Chiapuzio-Wong (they/them)
HPE Aruba Networking
Original Message:
Sent: Jul 06, 2023 04:29 PM
From: mk53202
Subject: Ansible and Aruba
Everyone -
I'm having issues apply a template to a device. Just trying a simple hostname change: Here's the ansible playbook snippet I'm running:
- name: Create/set template variables for all/multiple devices using a JSON file # NOQA
central_variables:
action: create_all
local_file_path: variables.json
No matter what I do, it say it cannot locate the variables file.