On 10/21/2018 10:16 AM, Kai Stian Olstad wrote:
On Sunday, 21 October 2018 06:09:38 CEST LJMedina wrote:
Hello!
Unfortunately, we are using version 2.4, don't think upgrading is an option
(at least at this point) any other ideas ?

What are the part that you struggle with?
For the IP you can do something like this

  - debug: msg="11.11.11.{{ ansible_default_ipv4.address.split('.').3 }}"

sorry, dummy question: But where does the "split" come from? It's not a YAML statement, its not a standard Jinja2 filter and its not one of the special ansible Jinja2 filters. I'm confused.

frank



--
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/c4841f44-56fa-bca8-5680-570d9e1fd37f%40drosera.ch.
For more options, visit https://groups.google.com/d/optout.

Reply via email to