Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

13 rindas
415B

  1. ---
  2. - name: scan ssh host
  3. local_action: command ssh-keyscan -t {{ssh_host_key_type}} {{ansible_host}}
  4. register: _ssh_keyscan_result
  5. changed_when: false
  6. - name: set ssh_host_key_ed25519_public
  7. set_fact:
  8. ssh_host_key_ed25519_public: "{{ _ssh_keyscan_result.stdout.split()[2] }}"
  9. changed_when: ssh_host_key_ed25519_public != _ssh_keyscan_result.stdout.split()[2]
  10. when: ssh_host_key_type == "ed25519"