Inventory Existing Configuration

18 views
Skip to first unread message

Levan Medoshvili

unread,
Apr 25, 2023, 6:58:23 AM4/25/23
to Ansible Project
Hello

Is it possible to inventory existing configuration of device in yaml file?

For example I have RouterOS that is already configured and I want to create yaml file for this configuration. 

I have tried to search but without luck.
I hope I explained correctly

Lee Thomas Stephen

unread,
Apr 27, 2023, 12:38:12 AM4/27/23
to ansible...@googlegroups.com
I don't know if this is what you need.

Try putting

fact_caching = community.general.yaml
fact_caching_connection = /tmp/myfacts

in ~/.ansible.cfg
in the [defaults] section

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/4dd98475-c270-411f-b301-1cb42df7b73fn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages