From 2bd0926604b8a372f52a4eb2e2c041db8e93670c Mon Sep 17 00:00:00 2001 From: Darren Hoyland Date: Mon, 4 Dec 2017 16:26:04 +0000 Subject: [PATCH 1/2] Added python-ironicclient (would be better going in the os-openstackclient role, but that's on galaxy --- ansible/compute-node-provide.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ansible/compute-node-provide.yml b/ansible/compute-node-provide.yml index 2e9355015..005a04247 100644 --- a/ansible/compute-node-provide.yml +++ b/ansible/compute-node-provide.yml @@ -15,6 +15,13 @@ - role: stackhpc.os-openstackclient os_openstackclient_venv: "{{ venv }}" tasks: + - name: Ensure required Python packages are installed + pip: + name: "{{ item.name }}" + state: present + virtualenv: "{{ venv }}" + with_items: + - name: python-ironicclient - name: Get a list of ironic nodes shell: > source {{ venv }}/bin/activate && From 4f7a6ddde97a7818e566c9ee56e885ce1331b78e Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Mon, 4 Dec 2017 16:29:35 +0000 Subject: [PATCH 2/2] Add blank line after pip install task --- ansible/compute-node-provide.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/compute-node-provide.yml b/ansible/compute-node-provide.yml index 005a04247..3c0786613 100644 --- a/ansible/compute-node-provide.yml +++ b/ansible/compute-node-provide.yml @@ -22,6 +22,7 @@ virtualenv: "{{ venv }}" with_items: - name: python-ironicclient + - name: Get a list of ironic nodes shell: > source {{ venv }}/bin/activate &&