12 lines
271 B
YAML
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
|