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:
parent
4111837fbd
commit
a77b95af20
1 changed files with 10 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue