瀏覽代碼

new states

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

+ 8
- 3
tasks/main.yml 查看文件

@@ -8,12 +8,17 @@

- include: setup.yml
when:
ssh_host_key_state == 'configured'
- ssh_host_key_state == 'configured'
- ansible_ssh_host_key_ed25519_public is defined

- include: fetch.yml
when:
ssh_host_key_state == 'fetched' or
ssh_host_key_state == 'regenerated'
- ssh_host_key_state == 'configured' or
ssh_host_key_state == 'fetched' or
ssh_host_key_state == 'regenerated'
- ssh_host_key_state == 'configured'
and not ansible_ssh_host_key_ed25519_public is defined
or not ssh_host_key_state == 'configured'

- include: save.yml
when:


Loading…
取消
儲存