No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

31 líneas
792B

  1. ---
  2. - include: scan.yml
  3. when:
  4. ssh_host_key_state is defined and
  5. ssh_host_key_state == 'scanned'
  6. - include: setup.yml
  7. when:
  8. ssh_host_key_state is defined and
  9. ssh_host_key_state == 'setup'
  10. - include: fetch.yml
  11. when:
  12. root_target_directory is defined and (
  13. not ssh_host_key_state is defined or
  14. ssh_host_key_state == 'fetched' )
  15. - include: save.yml
  16. - name: write ssh_known_hosts file
  17. local_action: known_hosts
  18. args:
  19. path: "{{ playbook_dir }}/ssh_known_hosts"
  20. name: '{{ inventory_hostname }}'
  21. key: "{{ inventory_hostname }},{{ ssh_ip }} {{ _ssh_key_type[ssh_host_key_type] }} {{ _ssh_host_key[ssh_host_key_type] }}"
  22. when:
  23. not ssh_host_key_state is defined or
  24. ssh_host_key_state == 'configured' or
  25. ssh_host_key_state == 'scanned'