On Thursday, March 6, 2014 10:47:36 AM UTC-8, KSS wrote:
>
> Hi Adam, thanks for the reply.
>
> I had actually already ended up doing exactly as you suggested.
>
> Out of interest what was the second solution? Is there a way to easily
> manipulate the network address as I first intended?
>
You could use {{ ansible_default_ipv4.network.split('.')[x] }} to get
individual octets...
It's a lot messier and less reliable, but there you go.
Adam
--
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/c27054d8-3f67-46a6-87bc-7d6cd7a1aab8%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.