Initial project import

This commit is contained in:
2022-10-31 09:02:42 +13:00
commit 142c70337a
12 changed files with 171 additions and 0 deletions

29
README.md Normal file
View File

@@ -0,0 +1,29 @@
# Cron-APT - Ansible Role
Install and configure of the cron-apt package for Debian based machines.
## Configuring
The below configuration variables are available:
```yaml
cron_apt_mailto: monitoring@somedomain.net.nz # The email to receive notifications
cron_apt_apply_security: false # If set to true, security updates will automatically be applied
```
## Example playbook
```yaml
---
- hosts: all
become: true
roles:
- name: cron-apt
vars:
cron_apt_mailto: admin@somedomain.net.nz
cron_apt_apply_security: true
```
You can of course configure variables instead at group_vars/host_vars level. This is just here as an example.