b6d2616275
With the arrival of ansible-lint 4, comparisons to literal boolean values are now forbidden. Adjust the new violations accordingly and remove the rule 601 exclusion. Change-Id: I18ba2d7d41fabaff35d10d520037188c7d9d1249
12 lines
354 B
YAML
12 lines
354 B
YAML
- name: Check to see if ssh key was already created for this build
|
|
stat:
|
|
path: "{{ zuul_temp_ssh_key }}"
|
|
register: zuul_temp_ssh_key_stat
|
|
delegate_to: localhost
|
|
run_once: true
|
|
failed_when: false
|
|
|
|
- name: Create a new key in workspace based on build UUID
|
|
include: create-key-and-replace.yaml
|
|
when: not zuul_temp_ssh_key_stat.stat.exists
|