Considering switching from a static hosts file to an inventory script, specifically the new one for Digital Ocean. I had a couple questions.
1. The DO script is in the upcoming 1.3 release. Is it possible to refer to inventory scripts included in Ansible without copying them to /etc/ansible/hosts and making them +x? Would be nice if my inventory scripts auto-updated if I just wanted something already shipped with Ansible. Maybe some sort of token in the hosts file that triggered an inventory plugin, then I'm not stuck symlinking or copying files on change?
2. Flat inventory files let me group hosts. Is it possible to do the same with inventory scripts? I'm not immediately sure how I might indicate that certain DO droplets occupy certain roles.
Thanks.