Pārlūkot izejas kodu

better descrstiptions and setup ho

master
vecāks
revīzija
6543600935
2 mainītis faili ar 4 papildinājumiem un 2 dzēšanām
  1. +1
    -1
      tasks/fetch.yml
  2. +3
    -1
      tasks/setup.yml

+ 1
- 1
tasks/fetch.yml Parādīt failu

@@ -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 Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt