On 26.05.2018 20:47, Kai Stian Olstad wrote:
Why split them up, why not just use facts_output directly.
- name: execute to add the ips
command: “exec item.public_ip_address item.tags.Name”
run_once: true
with_items:
- “{{ facts_output.instances }}”
A little correction
-
On 26.05.2018 04:32, David Villasmil wrote:
Hellos guys,
I have a result from ec2_instance_facts, and i can get the ip addresses
like:
- name: Get IP addresses from results
set_fact:
inject_ips: “{{ facts_output | json_query(‘instances[].
public_ip_address’) }}”
I can also get t
On 26.05.2018 18:24, Darren S. wrote:
Test playbook: the 'when' conditions on the sysctl tasks are how I
figured were proper to format the tests and avoid using jinja2
templating (and avoid subsequent warning from doing so):
---
- hosts: molodetz
become: yes
vars:
sysctl_limit_semmns: ke
ansible 2.5.3 on OpenBSD 6.3 amd64
config file = /etc/ansible/ansible.cfg
configured module search path =
[u'/home/dspruell/.ansible/plugins/modules',
u'/usr/share/ansible/plugins/modules']
ansible python module location =
/home/dspruell/.local/lib/python2.7/site-packages/ansible
executable
Hi All,
I have a play book, i need a help on how to display no of failed and
successfull task as the out always ,
PLAY RECAP
*
server1
listhosts is true, any list option bypasses execution.
--
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 ansible-project+unsubscr...@googlegroups.com.
To post t