[ansible-devel] ansible_play_name not available in playbook vars_files

2020-07-28 Thread Sten Aus
Hi all I know I have a custom setup, but I've discovered funny thing, not sure if it's a bug or not, but maybe to see a second thought here. - name: webservers hosts: webservers #it's a group in hosts file vars: my_custom_variable: webservers /-- output omitted --/ #vars_files:

[ansible-devel] Ansible 2.10.0 alpha 6

2020-07-28 Thread Toshio Kuratomi
Hi all- For all those wanting to test the next version of Ansible, we're happy to announce that Ansible 2.10.0 alpha6 is now available on PyPI! Ansible 2.10.0a6 pulls in the ansible-base package (currently at version 2.10.0rc3 on PyPI) via a dependency and includes a range of Ansible Collections.

[ansible-devel] revisiting empty option for file module

2020-07-28 Thread Rob Wagner
Hey all - a while back, it looks like someone proposed a feature request to add an "empty" option to the file module that would allow one to remove the *contents* of a directory but leave the directory alone. A PR https://github.com/ansible/ansible-modules-core/pull/5652 was submitted and then