Hi Luke, We don't actually screen scrape the configuration in this case.
Can you post the full playbook via a gist? (or at least the full task?)

On Wed, Apr 13, 2016 at 8:45 PM, Luke Russell <[email protected]>
wrote:

> I am using ios_template to deploy some DMVPN tunnels. For some reason it
> is not recognising two commands that already exist on the router - *ip
> nhrp map a.a.a.a b.b.b.b* and* ip nhrp nhs a.a.a.a*. I'm not really sure
> what is unique about these two commands to produce this affect, and it
> isn't currently stopping me from doing anything. It just throws a spanner
> in the idea of being idempotent. My guess would be a problem with the
> underlying regex doing the screen scraping.
>
> Running the playbook with -vvv option produces this output (cleaned up):
>
>
> "src":
> !
> interface Tunnel10
>  description primary tunnel
>  ip vrf forwarding VRF-A
>  ip address 10.0.0.11 255.255.240.0
>  no ip redirects
>  ip mtu 1400
>  ip nhrp authentication 10
>  ip nhrp map multicast 172.16.0.11
>  ip nhrp map 10.0.0.1 172.16.0.11
>  ip nhrp network-id 10
>  ip nhrp holdtime 360
>  ip nhrp nhs 10.0.0.1
>  ip nhrp shortcut
>  ip tcp adjust-mss 1360
>  load-interval 30
>  delay 600
>  qos pre-classify
>  tunnel source Loopback1
>  tunnel mode gre multipoint
>  tunnel key 10
> end
>
> "updates":
> interface Tunnel10
> ip nhrp map 10.0.0.1 172.16.0.11
> ip nhrp ohs 10.0.0.1
>
>
>
>
> --
> 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/837e4cc8-d4cb-4091-998d-d0470f06372b%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/837e4cc8-d4cb-4091-998d-d0470f06372b%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/CAEkdrMjZxqLymDVuqGa3Qt-u3ipKqCQ2bRnYpbkfhRyE2tbF%2Bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to