Exactly what I needed, thanks for the help! On Saturday, September 23, 2017 at 12:26:59 AM UTC-7, Ganesh Nalawade wrote: > > > If I understand the question correctly you want to access port value > within network_cli.py, if yes you can do it by accessing > self._play_context.port > > Regards, > Ganesh > > On Sat, Sep 23, 2017 at 4:42 AM, <[email protected] <javascript:>> wrote: > >> Would anyone happen to know if the ansible_port variable is accessible >> anywhere in this module? I'd like to make an update (for personal use) >> that differentiates an action based on port. Thanks for any info! >> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/48e457f9-62e0-473f-8996-71df4b06c1f4%40googlegroups.com >> >> <https://groups.google.com/d/msgid/ansible-project/48e457f9-62e0-473f-8996-71df4b06c1f4%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > >
-- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f593062b-3618-4ef7-8280-fd2643e30852%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
