mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
visual feedback and record in iiab.ini
This commit is contained in:
parent
9b650fa877
commit
853cd445f9
1 changed files with 5 additions and 0 deletions
|
@ -18,6 +18,9 @@
|
|||
|
||||
- include_tasks: enable-or-disable.yml
|
||||
|
||||
- name: Find the claim code if blank the machine was registrated
|
||||
shell: grep claim /etc/remoteit/config.json | rev | cut -d\" -f2 | rev
|
||||
register: remoteit_claim
|
||||
|
||||
- name: Add 'remoteit' variable values to {{ iiab_ini_file }}
|
||||
ini_file:
|
||||
|
@ -34,3 +37,5 @@
|
|||
value: "{{ remoteit_install }}"
|
||||
- option: remoteit_enabled
|
||||
value: "{{ remoteit_enabled }}"
|
||||
- option: remoteit_claim_code
|
||||
value: "{{ remoteit_claim.stdout }}"
|
||||
|
|
Loading…
Reference in a new issue