caktus / tequila-common

Ansible role for setting up users, keys, directories, and a firewall for a Django server
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Use names list rather than loop with apt module #26

Closed copelco closed 5 years ago

copelco commented 5 years ago

Per Notes in Ansible apt docs, this method is more efficient and removes deprecation warning:

When used with a loop: each package will be processed individually, it is much more efficient to pass the list directly to the name option.