latest
ANS-E4003Package installs should use state: present
with or without a version.
Use latest
ONLY if they are supported by the underlying package module(s) executed.
- name: install packages
package:
name: <name-of-the-package>
state: latest
- name: install packages
package:
name: <name-of-the-package>
state: present