Browse Source

fix setup state

master
parent
commit
21b09eae8f
2 changed files with 2 additions and 4 deletions
  1. +2
    -2
      tasks/main.yml
  2. +0
    -2
      tasks/setup.yml

+ 2
- 2
tasks/main.yml View File

@@ -7,8 +7,8 @@


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


- include: fetch.yml - include: fetch.yml
when: when:


+ 0
- 2
tasks/setup.yml View File

@@ -1,7 +1,5 @@
--- ---


- setup:

- name: set ssh_host_key_ed25519_public from setup - name: set ssh_host_key_ed25519_public from setup
set_fact: set_fact:
ssh_host_key_ed25519_public: "{{ ansible_ssh_host_key_ed25519_public }}" ssh_host_key_ed25519_public: "{{ ansible_ssh_host_key_ed25519_public }}"


Loading…
Cancel
Save