瀏覽代碼

better state handling

master
父節點
當前提交
1d2e001a49
共有 1 個檔案被更改,包括 5 行新增2 行删除
  1. +5
    -2
      tasks/main.yml

+ 5
- 2
tasks/main.yml 查看文件

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

Loading…
取消
儲存