1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

remoteit/tasks/enable-or-disable.yml: 'schannel' systemd ON/OFF, like 'connectd'

This commit is contained in:
root 2022-04-03 00:57:47 -04:00
parent 4111837fbd
commit a77b95af20

View file

@ -1,17 +1,23 @@
- name: Enable & (Re)Start remote.it's connectd daemon which calls home
- name: Enable & (Re)Start remote.it's daemons {connectd, schannel}
systemd:
name: connectd
name: "{{ item }}"
daemon_reload: yes
enabled: yes
state: restarted
with_items:
- connectd
- schannel
when: remoteit_enabled
- name: Disable & Stop remote.it's connectd daemon
- name: Disable & Stop remote.it's daemons {connectd, schannel}
systemd:
name: connectd
name: "{{ item }}"
enabled: no
state: stopped
with_items:
- connectd
- schannel
when: not remoteit_enabled
- name: Identify remoteit service (connector) unit file name, including uuid