Added common ansible role
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
---
|
||||
- name: ensure apticron packages are installed
|
||||
apt:
|
||||
pkg: "{{ packages }}"
|
||||
state: latest
|
||||
update_cache: yes
|
||||
cache_valid_time: 600
|
||||
vars:
|
||||
packages:
|
||||
- apticron
|
||||
|
||||
- name: configure apticron
|
||||
template:
|
||||
src: etc/apticron/apticron.conf.j2
|
||||
dest: /etc/apticron/apticron.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
|
||||
Reference in New Issue
Block a user