Re: [ansible-project] How to iterate over nested list and split it into two groups using add_host?

2019-09-09 Thread Danny Rehelis
oup0": [ "host1", "host2" ], "group1": [ "host3" ], "ungrouped": [] } } On Monday, September 9, 2019 at 10:25:53 AM UTC+3, Vladimir Botka wrote: > > On Mon, 9

[ansible-project] How to iterate over nested list and split it into two groups using add_host?

2019-09-09 Thread Danny Rehelis
Hey, Given the following playbook - - hosts: localhost gather_facts: false vars: my_hosts: - ['host1', 'host2'] - ['host3'] - name: Add host add_host: name: '{{ item }}' groups: "group{{ index }}" loop: "{{ my_hosts }}" loop_control: index_var: index --- PLAY [localhost] **

[ansible-project] Jump host and ansible_ssh_private_key_file

2017-12-07 Thread Danny Rehelis
Hey there, I've been following the documentation on how to configure a jump host to access servers which can be found here . My jump server has the private keys neede

Re: [ansible-project] Re: How to loop thru win_updates until no updates left

2017-01-19 Thread Danny Rehelis
== '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 ansible-project+unsubscr...@googlegrou

Re: [ansible-project] Re: How to loop thru win_updates until no updates left

2017-01-12 Thread Danny Rehelis
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 to this group, send email to ansible-project@googlegroups.com. > To view this discussion on the web vis

Re: [ansible-project] Re: How to loop thru win_updates until no updates left

2017-01-08 Thread Danny Rehelis
I actually tried this and it didn't work. Later, found this post https://groups.google.com/forum/#!topic/ansible-project/xGGe6WADtH0 On Sun, Jan 8, 2017 at 10:01 PM, Dag Wieers wrote: > On Wed, 4 Jan 2017, Danny Rehelis wrote: > > Anyone? :-( >> > > Never tried it

Re: [ansible-project] Re: How to loop thru win_updates until no updates left

2017-01-04 Thread Danny Rehelis
reboot_timeout_sec: 300 >>>> when: installed.reboot_required = 'true' >>>> register: reboot >>>> >>>> >>>> I cant figure out how to put this in playbook by myself, seeking for >>>> some guidance. >

Re: [ansible-project] Module "Warning" after upgrade to v. 2.2

2016-12-02 Thread Danny Rehelis
d stop receiving emails from it, send an > email to ansible-project+unsubscr...@googlegroups.com. > To post to this group, send email to ansible-project@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/ansible-project/4c7242ad-6630-4763-9bd3-5b