Sfoglia il codice sorgente

better descrstiptions and setup ho

master
parent
commit
6543600935
2 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. +1
    -1
      tasks/fetch.yml
  2. +3
    -1
      tasks/setup.yml

+ 1
- 1
tasks/fetch.yml Vedi File

@@ -6,7 +6,7 @@
register: _ssh_host_key_cat_result
changed_when: false

- name: set ssh_host_key_ed25519_public
- name: set fetched ssh_host_key_ed25519_public
set_fact:
ssh_host_key_ed25519_public: "{{ _ssh_host_key_cat_result.stdout.split()[1] }}"
changed_when: ssh_host_key_ed25519_public != _ssh_host_key_cat_result.stdout.split()[1]


+ 3
- 1
tasks/setup.yml Vedi File

@@ -1,6 +1,8 @@
---

- name: set ssh_host_key_ed25519_public
- setup:

- name: set ssh_host_key_ed25519_public from setup
set_fact:
ssh_host_key_ed25519_public: "{{ ansible_ssh_host_key_ed25519_public }}"
changed_when: ssh_host_key_ed25519_public != ansible_ssh_host_key_ed25519_public


Loading…
Annulla
Salva