[ansible-devel] ansible-base 2.10.0b1 is available

2020-06-17 Thread Matt Davis
Hi all- we're happy to announce a beta release of the new ansible-base 2.10 package is now available! The ansible-base package consists of only the Ansible execution engine, related tools (e.g. ansible-galaxy, ansible-test), and a very small set of built-in plugins. Most content that was part

Re: [ansible-devel] print volume group with highest number

2020-06-17 Thread Brian Coca
Something like this will sort the keys and use the last one. - debug: msg={{ansible_lvm.vgs[(ansible_lvm.vgs.keys()|sorted|list)[-1]]}} -- -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this

Re: [ansible-devel] AnsiballZ overhead when your hosts already have all modules and dependencies

2020-06-17 Thread Matt Martz
As of right now, that idea has been previously rejected. I implemented such a change that would only copy the args for the module to the remote host, but depended on Ansible being installed on the target. Ultimately this was seen as too fragile, and we have plans to evaluate other options later.

[ansible-devel] AnsiballZ overhead when your hosts already have all modules and dependencies

2020-06-17 Thread Artem Gromov
Hello, I am thinking about an idea to put Python and Ansible together with modules, plugins, and other dependencies into one static binary executable. Then I am going to distribute such a binary to all my hosts, including Ansible master, and use it as ansible_python_interpreter. With this

Re: [ansible-devel] Re: Create a directory when symlink already exists

2020-06-17 Thread Akansha
Thanks Mike! After discussing the requirement further, I decided to delete existing symbolic link and proceed. So issue is resolved now. On Tue, 16 Jun 2020 at 9:05 PM, Mike Sawyers wrote: > Didn't realize I didn't reply all when I wrote back to Akansha, so to > start, here is the additional

Re: [ansible-devel] ansible-test and testing locally before commit

2020-06-17 Thread Matt Martz
You need to use the path to that file, not just the basename. If you install the python argcomplete package, you can tab complete the targets in ansible-test On Wed, Jun 17, 2020 at 9:54 AM Sydo Luciani wrote: > Getting error running ansible-test against the existing modules in either >

[ansible-devel] ansible-test and testing locally before commit

2020-06-17 Thread Sydo Luciani
Getting error running ansible-test against the existing modules in either community.aws or amazon.aws: ansible-test sanity --test yamllint route53_zone.py ERROR: Target pattern not matched: route53_zone.py any idea why ? Is there an Ansible how to document to setup local test environment like