Can Ansible support offline files?

Hello,
I’m new to Ansible.
I got a task in work to check all the configuration of our switches if they are complaint.
I can’t SSH to the devices to perform the checks.
Can Ansible perform such tasks? running over config file and determinate if it’s complaint or not with the playbook?

Thanks!
Omer Shtivi

Yes, but why use ansible if you cant use ssh?

Use

ansible-playbook playbook.yml --connection=local
or

Hi,

Depend on what you plan to check first. If you will use SSH to check if file is ok or config is ok. You can mimick your switches for test or have only one to validate the tests.

But I think most switches use API that won’t use SSH.

What modules do you plan to use ? Shell ? Command ?

M B