ansible/roles/debian/tasks/main.yml

16 lines
281 B
YAML
Raw Permalink Normal View History

---
- name: Enable sshd
systemd:
name: sshd
enabled: yes
state: started
- name: Configure Network
notify: restart network
when: ipv4 is defined or ipv6 is defined
template:
src: interfaces.j2
dest: /etc/network/interfaces
owner: root
mode: 644