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

On Tue, Apr 25, 2023 at 4:28 PM Levan Medoshvili <
[email protected]> wrote:

> 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
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/4dd98475-c270-411f-b301-1cb42df7b73fn%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/4dd98475-c270-411f-b301-1cb42df7b73fn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAG7s96Uk81uA5KL42mTw%2B3yGLJgnW5P9SZPHHHiFv5w3CCxgDQ%40mail.gmail.com.

Reply via email to