Re: [ansible-project] Is there any way to write a module that does 'remove_host' or 'replace_hosts'?

2018-11-14 Thread Barry Kaplan
Bummer, but thanks Brian. -- 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 to this group, send email to a

Re: [ansible-project] Is there any way to write a module that does 'remove_host' or 'replace_hosts'?

2018-11-14 Thread Brian Coca
No, it requires core code modifications. -- -- Brian Coca -- 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.

[ansible-project] Is there any way to write a module that does 'remove_host' or 'replace_hosts'?

2018-11-14 Thread Barry Kaplan
I have plays that look like, eg - name: provision ec2 instance ... - set_fact: newly_created_ips: ... - import_playbook: ../configure/nomad-server.yml Inside nomad-server.yml it looks like - name: Configure nomad-client hosts: nomad_client ... What I want is to "dynamically" limit