diff --git a/roles/ironic-deploy/tasks/main.yml b/roles/ironic-deploy/tasks/main.yml index 313635938..4979cd61b 100644 --- a/roles/ironic-deploy/tasks/main.yml +++ b/roles/ironic-deploy/tasks/main.yml @@ -36,15 +36,6 @@ - name: "Verify that deployment image is present." local_action: stat path={{deploy_image}} register: test_deploy_image - # TODO: checksum for the above stat operation will be required for deployment. - name: "Error if deployment image is missing." local_action: fail msg="Deployment image is missing. Consider re-running setup." when: test_deploy_image.stat.exists == false -- name: "Check to see if there is a file where the ssh_key_path is defined" - local_action: stat path={{ ssh_public_key_path }} - register: test_ssh_public_key_path -- name: "Error if ssh_public_key_path is not valid" - local_action: fail msg="ssh_public_key_path is not valid." - when: test_ssh_public_key_path.stat.exists == false -- name: "Read ssh public key in" - local_action: set_fact ssh_public_key="{{ lookup('file', ssh_public_key_path ) }}"