add-build-sshkey: update include to include_tasks

Change-Id: Ie5d3688ef647d25e4446cfe648b795e6c9ba0ac0
This commit is contained in:
Albin Vass 2020-05-25 20:46:45 +02:00
parent 162daaebe5
commit c4b31748cf
2 changed files with 3 additions and 3 deletions

View File

@ -4,11 +4,11 @@
run_once: true
- name: Remote setup ssh keys (linux)
include: remote-linux.yaml
include_tasks: remote-linux.yaml
when: ansible_os_family != "Windows"
- name: Remote setup ssh keys (windows)
include: remote-windows.yaml
include_tasks: remote-windows.yaml
when: ansible_os_family == "Windows"
- import_role:

View File

@ -7,5 +7,5 @@
failed_when: false
- name: Create a new key in workspace based on build UUID
include: create-key-and-replace.yaml
include_tasks: create-key-and-replace.yaml
when: not zuul_temp_ssh_key_stat.stat.exists