mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Easy command /usr/bin/iiab-remoteit-off + explanations
This commit is contained in:
parent
dd3bf7381a
commit
bd2ff84ccb
5 changed files with 43 additions and 14 deletions
|
|
@ -1,4 +1,4 @@
|
|||
- name: Enable & Restart remote.it service connectd, which exits after spawning 2 services/daemons below
|
||||
- name: Enable & Restart remote.it "parent" service connectd, which exits after spawning 2 "child" services/daemons below
|
||||
systemd:
|
||||
name: connectd
|
||||
daemon_reload: yes
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
state: restarted
|
||||
when: remoteit_enabled
|
||||
|
||||
- name: Enable remote.it daemon schannel ("Remote tcp command service") -- try to avoid contention with connectd also spawning it above!
|
||||
- name: Enable remote.it daemon schannel ("Remote tcp command service") -- try to avoid contention with connectd which auto-spawns it as nec (just above)
|
||||
systemd:
|
||||
name: schannel
|
||||
enabled: yes
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
register: remoteit_service
|
||||
ignore_errors: yes
|
||||
|
||||
- name: "Disable & Stop remoteit service: {{ remoteit_service.stdout }}"
|
||||
- name: "Disable & Stop the actual service: {{ remoteit_service.stdout }}"
|
||||
systemd:
|
||||
name: "{{ remoteit_service.stdout }}"
|
||||
enabled: no
|
||||
|
|
|
|||
|
|
@ -36,12 +36,18 @@
|
|||
shell: curl -L https://downloads.remote.it/remoteit/install_agent.sh | sh
|
||||
|
||||
|
||||
- name: "Install /usr/bin/iiab-remoteit from template -- so IIAB operators can quickly generate a new remote.it claim code (in /etc/remoteit/config.json) AND enable remoteit's 3 systemd services -- optionally downloading + installing the very latest Device Package (like the 2 steps above)"
|
||||
- name: "Install /usr/bin/iiab-remoteit from template -- so IIAB operators can quickly enable remote.it AND generate a new remote.it claim code (in /etc/remoteit/config.json) -- optionally downloading + installing the very latest Device Package (like the 2 steps above)"
|
||||
template:
|
||||
src: iiab-remoteit
|
||||
dest: /usr/bin
|
||||
mode: 0755
|
||||
|
||||
- name: "Install /usr/bin/iiab-remoteit-off from template -- so IIAB operators can quickly disable remote.it services on this IIAB"
|
||||
template:
|
||||
src: iiab-remoteit-off
|
||||
dest: /usr/bin
|
||||
mode: 0755
|
||||
|
||||
|
||||
- name: Fail if architecture remoteit_cli_suffix == "unknown"
|
||||
fail:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue