ansible/roles/common/tasks/services.yml

12 lines
271 B
YAML
Raw Normal View History

#!/usr/bin/ansible-playbook
# vim:ft=ansible:
---
- name: Configure services
systemd:
name: "{{ item.name }}"
state: "{{ item.state }}"
enabled: "{{ item.enabled }}"
loop:
- { name: "unattended-upgrades", state: "stopped", enabled: no }
become: yes