From e9a65bf67c5b0b2229bcdad12d15a5512f4096b7 Mon Sep 17 00:00:00 2001 From: Julia Kreger Date: Mon, 23 Mar 2015 18:53:56 -0400 Subject: [PATCH] Updating deploy.yaml to not use sudo globally Changed deploy.yaml to not invoke sudo for the configdrive and deployment roles in order to allow a user's key to be pulled into the configuration drive instead of the root user key by default. --- deploy.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deploy.yaml b/deploy.yaml index 0ee75f664..f088ca460 100644 --- a/deploy.yaml +++ b/deploy.yaml @@ -11,5 +11,10 @@ roles: - role: ironic-deploy baremetal_csv_file: "{{ baremetal_csv_file }}" +- hosts: localhost + connection: local + name: "Enroll hardware from baremetal.csv into Ironic" + gather_facts: yes + roles: - role: bifrost-configdrives - role: bifrost-setup-nodes