Infra_mgmt/roles/unattended-upgrades/tasks/main.yml

13 lines
284 B
YAML
Raw Normal View History

2023-05-07 12:01:52 +02:00
---
# tasks file for unattended-upgrades
- name: Check if Postfix is already configured
stat:
path: /etc/postfix/sasl_passwd.db
register: postfix_configured
- import_tasks: postfix.yml
when: postfix_configured.stat.exists == false
- import_tasks: unattended-upgrades.yml