mirror of
https://github.com/roles-ansible/ansible_role_rustdesk.git
synced 2024-08-16 10:19:48 +02:00
Print Login info
This commit is contained in:
parent
9755d83e23
commit
97633c1f10
2 changed files with 12 additions and 8 deletions
|
@ -20,12 +20,12 @@
|
|||
ansible.builtin.include_tasks:
|
||||
file: 'directory.yml'
|
||||
|
||||
- name: Create Keys for rustdesk
|
||||
ansible.builtin.include_tasks:
|
||||
file: 'keys.yml'
|
||||
when: ansible_service_mgr == "systemd"
|
||||
|
||||
- name: Setup homebox systemd service
|
||||
ansible.builtin.include_tasks:
|
||||
file: 'install_systemd.yml'
|
||||
when: ansible_service_mgr == "systemd"
|
||||
|
||||
- name: Keys Summary for rustdesk
|
||||
ansible.builtin.include_tasks:
|
||||
file: 'summary.yml'
|
||||
when: ansible_service_mgr == "systemd"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
- name: Make sure there is a key for rustdesk
|
||||
become: true
|
||||
when: rustdesk__require_key | bool
|
||||
block:
|
||||
- name: Get public key of rustdesk
|
||||
ansible.builtin.slurp:
|
||||
|
@ -17,7 +18,10 @@
|
|||
src: "{{ rustdesk__home }}/id_ed25519.pub"
|
||||
register: _rustdesk_pubkey
|
||||
|
||||
- name: Show Rustdesk Public Key
|
||||
- name: Show Rustdesk Login Info
|
||||
ansible.builtin.debug:
|
||||
msg: "Pubkey: {{ _rustdesk_pubkey.content | b64decode }}"
|
||||
verbosity: 1
|
||||
msg: |
|
||||
Rustdesk ID Server: {{ rustdesk__relay_server_domain }}:{{ rustdesk__signal_server_port }}
|
||||
Rustdesk Relay Server: {{ rustdesk__relay_server_domain }}:{{ rustdesk__relay_server_port }}
|
||||
No API Server.
|
||||
Key: {{ _rustdesk_pubkey.content | b64decode }}
|
Loading…
Reference in a new issue