Parcourir la source

better state handling

master
Parent
révision
1d2e001a49
1 fichiers modifiés avec 5 ajouts et 2 suppressions
  1. +5
    -2
      tasks/main.yml

+ 5
- 2
tasks/main.yml Voir le fichier

@@ -12,9 +12,12 @@

- include: fetch.yml
when:
ssh_host_key_state == 'fetched'
ssh_host_key_state == 'fetched' or
ssh_host_key_state == 'regenerated'

- include: save.yml
when:
ssh_host_key_state == 'configured' or
ssh_host_key_state == 'scanned'
ssh_host_key_state == 'scanned' or
ssh_host_key_state == 'regenerated' or
ssh_host_key_state == 'saved'

Chargement…
Annuler
Enregistrer