Files
ansible-role-common/tasks/tty.yml
Daniel A. Maierhofer cb190efd2c Fix for voidlinux
2018-03-17 17:28:06 +01:00

11 lines
220 B
YAML

---
- name: tty - disable all but one
service: name="{{ item }}" enabled=no
when: ansible_os_family != "Debian"
with_items:
- agetty-tty2
- agetty-tty3
- agetty-tty4
- agetty-tty5
- agetty-tty6