Browse Source

better descrstiptions and setup ho

master
parent
commit
6543600935
2 changed files with 4 additions and 2 deletions
  1. +1
    -1
      tasks/fetch.yml
  2. +3
    -1
      tasks/setup.yml

+ 1
- 1
tasks/fetch.yml View File

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


- name: set ssh_host_key_ed25519_public
- name: set fetched ssh_host_key_ed25519_public
set_fact: set_fact:
ssh_host_key_ed25519_public: "{{ _ssh_host_key_cat_result.stdout.split()[1] }}" 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] changed_when: ssh_host_key_ed25519_public != _ssh_host_key_cat_result.stdout.split()[1]


+ 3
- 1
tasks/setup.yml View File

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


- name: set ssh_host_key_ed25519_public
- setup:

- name: set ssh_host_key_ed25519_public from setup
set_fact: set_fact:
ssh_host_key_ed25519_public: "{{ ansible_ssh_host_key_ed25519_public }}" ssh_host_key_ed25519_public: "{{ ansible_ssh_host_key_ed25519_public }}"
changed_when: 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…
Cancel
Save