Package install really needs to be done with package module

This commit is contained in:
Jason Rothstein 2020-03-27 23:33:45 -05:00
parent 8e629398fe
commit 67c0140d73

View File

@ -30,7 +30,7 @@
- ensure_log_rotation is defined - ensure_log_rotation is defined
- ensure_log_rotation.package_list is defined - ensure_log_rotation.package_list is defined
- ensure_log_rotation.package_list is iterable - ensure_log_rotation.package_list is iterable
service: package:
name: '{{ item.name }}' name: '{{ item.name }}'
state: '{{ item.state }}' state: '{{ item.state }}'
loop: '{{ ensure_log_rotation.package_list }}' loop: '{{ ensure_log_rotation.package_list }}'