Correct deploy fail messages
This commit is contained in:
parent
07797ce472
commit
6fba89ab7f
@ -25,7 +25,7 @@
|
|||||||
local_action: stat path={{ http_boot_folder }}/coreos_production_pxe_image-oem.cpio.gz
|
local_action: stat path={{ http_boot_folder }}/coreos_production_pxe_image-oem.cpio.gz
|
||||||
register: test_core_os_image_present
|
register: test_core_os_image_present
|
||||||
- name: "Error if the CoreOS ramdisk is missing."
|
- name: "Error if the CoreOS ramdisk is missing."
|
||||||
local_action: fail msg="CoreOS ramdisk was not. Consider re-running setup."
|
local_action: fail msg="CoreOS ramdisk was not found. Consider re-running setup."
|
||||||
when: test_core_os_image_present.stat.exists == false
|
when: test_core_os_image_present.stat.exists == false
|
||||||
- name: "Verify that deployment image is present."
|
- name: "Verify that deployment image is present."
|
||||||
local_action: stat path={{deploy_image}}
|
local_action: stat path={{deploy_image}}
|
||||||
@ -38,7 +38,7 @@
|
|||||||
local_action: stat path={{ ssh_public_key_path }}
|
local_action: stat path={{ ssh_public_key_path }}
|
||||||
register: test_ssh_public_key_path
|
register: test_ssh_public_key_path
|
||||||
- name: "Error if ssh_public_key_path is not valid"
|
- name: "Error if ssh_public_key_path is not valid"
|
||||||
local_action: fail msg="CoreOS ramdisk was not. Consider re-running setup."
|
local_action: fail msg="ssh_public_key_path is not valid."
|
||||||
when: test_ssh_public_key_path.stat.exists == false
|
when: test_ssh_public_key_path.stat.exists == false
|
||||||
- name: "Read ssh public key in"
|
- name: "Read ssh public key in"
|
||||||
local_action: set_fact ssh_public_key="{{ lookup('file', ssh_public_key_path ) }}"
|
local_action: set_fact ssh_public_key="{{ lookup('file', ssh_public_key_path ) }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user