--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/40bc8c69-ee26-4ccc-b7af-04cd57e100dd%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I often want to create and share stand-alone, single plays (i.e., some_task.yml). Ansible makes it very easy to automate tedious admin tasks so I like to use it instead of old-school shell scripting. This works fine of course but there is one small friction point in the form of the inventory file. It would be cool if I could run a stand-alone play without an inventory file (the host is already in the play) just be typing 'ansible-playbook some_task.yml'
--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAEhzMJC-zrTggMgD%3D0B5_J4r6LFcnptZ6jeqfA2Cz8Tr23E43Q%40mail.gmail.com.
For the normal case of infrastructure CM the inventory files are definitely needed. For the case of a one-off Ansible play run locally they are not. I understand this may be an edge case and hence not worth supporting. Fair enough. It's a small enhancement. I just wanted to avoid the unnecessary step of creating an inventory file in the case where one wasn't needed.
--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/35bd8424-8ad5-4191-8e59-2292884f822a%40googlegroups.com.
One more thing, could you modify the 'unarchive' module to accept URLs in the 'src' parameter? I tried to pass a URL (http://file.com/file.tar.gz) but got an error. It's a common task to download a tar.gz file from the web and then untar/unzip it. Perhaps others would find that useful as well.