roles/common: Adjust cron-apt stuff
- Don't run the static files as templates - Use a separate playbook for related tasks - Use a template for security.sources.list Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
5
roles/common/templates/security.sources.list.j2
Normal file
5
roles/common/templates/security.sources.list.j2
Normal file
@ -0,0 +1,5 @@
|
||||
{% if ansible_distribution == 'Ubuntu' %}
|
||||
deb http://security.ubuntu.com/ubuntu {{ ansible_distribution_release }}-security main universe
|
||||
{% elif ansible_distribution == 'Debian' %}
|
||||
deb http://security.debian.org/ {{ ansible_distribution_release }}/updates main
|
||||
{% endif %}
|
Reference in New Issue
Block a user