Explorar el Código

better descrstiptions and setup ho

master
padre
commit
6543600935
Se han modificado 2 ficheros con 4 adiciones y 2 borrados
  1. +1
    -1
      tasks/fetch.yml
  2. +3
    -1
      tasks/setup.yml

+ 1
- 1
tasks/fetch.yml Ver fichero

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

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


Cargando…
Cancelar
Guardar