1
0
Fork 0
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:
Jerry Vonau 2022-04-05 22:44:13 -05:00
parent 9b650fa877
commit 853cd445f9

View file

@ -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 }}"