1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00
iiab/roles/remoteit/tasks/enable-or-disable.yml

14 lines
338 B
YAML

- name: Enable & (Re)Start remote.it's connectd daemon which calls home
systemd:
name: connectd
daemon_reload: yes
enabled: yes
state: restarted
when: remoteit_enabled
- name: Disable & Stop remote.it's connectd daemon
systemd:
name: connectd
enabled: no
state: stopped
when: not remoteit_enabled