On Monday 19 July 2021 at 19:13:21, Tiago Oliveira wrote:

> I actually dont have anything of the module done.

So, how are you getting the error "this operation requires privilege 
escalation"?

> I wanted to see the ios_config module and how it was done so i could have
> an ideia of what to do.. but i cant find the documentation and the how to
> do that module.

There may only be source code.  Not everyone documents the development of 
things like this in sufficient detail that other developers can understand the 
design process.

> About the fs.com switches, the one i am trying to use is a lot similar to
> cisco ios, with small diferences. for example

Sorry, but phrases like "small differences" and "for example" are not enough to 
write software.  You need specifications - you need definite documentation 
about 
_exactly_ how things need to be done.

> you do enable and then config and not config terminal, and i dont know if that
> changes something for the module not working, because if i use ios_command
> module and write all the commands: enable,config i can use this commands
> inside fs switch config without problems..

Start with something simple.

Make sure you can do one specific, simple command manually, and then get an 
ansible module to do it for you.  If you need escalated privileges, well, put 
that in (I assume you already know how to do that in ansible).

Then, once you have something simple working, build up to the real goal of the 
full configuration you are trying to achieve.

If you need further help from the list, though, I really think you need to 
provide some details about what you are doing, what the errors are, and what 
the fs.com documentation says needs to be done to make something work.


Antony.

-- 
You can tell that the day just isn't going right when you find yourself using 
the telephone before the toilet.

                                                   Please reply to the list;
                                                         please *don't* CC me.

Reply via email to