diff options
author | 2017-10-03 17:18:48 +0200 | |
---|---|---|
committer | 2017-10-04 16:18:08 +0000 | |
commit | 7d9b9d5c0189337e1103ea5f06f744fa0fe013d3 (patch) | |
tree | 70dbecbc6edf376b8e9cdfd910b3ca1af1d0cdc2 /xci/playbooks | |
parent | 21a82ce0689793f85777ea1be65c8c068f0dabd4 (diff) |
Install docker-py when running xci as part of CI
docker-py package is required by the docker_container module in ansible:
http://docs.ansible.com/ansible/latest/docker_container_module.html#docker-container
Change-Id: Ib051ae09c84cfa973ef814852e78626499471d0f
Signed-off-by: Manuel Buil <mbuil@suse.com>
Diffstat (limited to 'xci/playbooks')
-rw-r--r-- | xci/playbooks/configure-opnfvhost.yml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/xci/playbooks/configure-opnfvhost.yml b/xci/playbooks/configure-opnfvhost.yml index 7b168498..daaddfbd 100644 --- a/xci/playbooks/configure-opnfvhost.yml +++ b/xci/playbooks/configure-opnfvhost.yml @@ -137,15 +137,13 @@ content: "{{ xci_ssl_key }}" dest: "/etc/ssl/private/xci.key" become: true - # install docker on opnfv host only if we are running as part of CI - - name: install docker + - name: install opnfv required packages package: - name: "{{ docker_package_name }}" + name: "{{ opnfv_required_packages }}" state: latest - when: lookup('env', 'JENKINS_HOME') != "" - - name: install python-openstackclient + - name: install opnfv required pip packages pip: - name: python-openstackclient + name: "{{ opnfv_required_pip }}" state: present - hosts: localhost |