ansible/roles/common/tasks/services.yml
Salt 5972c8f7e7 Configure running services
In particular, disable unattended-upgrades as it may interfere with ansible-pull
2020-07-04 19:50:55 -05:00

12 lines
271 B
YAML

#!/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