Re: [ansible-devel] How to define hosts when you integrate Ansible into external system

2021-07-02 Thread Bob Harold
I use: *ansible-playbook myplaybook.yml -i hosts -e host=myhost.mydomain.com * and in the playbook: *hosts: "{{ host }}"* That works well for me. I think "all" is much too dangerous, and hardcoding a host or group is too limiting. -- Bob Harold On Fri, Jul 2, 2

Re: [ansible-devel] How to define hosts when you integrate Ansible into external system

2021-07-02 Thread Brian Coca
You also have --limit , which avoids playbook rewrites and per run custom inventories -- -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an e