From 7a50fddc3abf58cb2db7cb80157df97eca2c5608 Mon Sep 17 00:00:00 2001 From: Julia Kreger Date: Mon, 23 Mar 2015 18:49:59 -0400 Subject: [PATCH] Cleaning up ironic-deploy role Removed un-necessary/duplicated steps and old comment. --- roles/ironic-deploy/tasks/main.yml | 9 --------- 1 file changed, 9 deletions(-) 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 ) }}"