summaryrefslogtreecommitdiffstats
path: root/xci/playbooks/configure-opnfvhost.yml
diff options
context:
space:
mode:
Diffstat (limited to 'xci/playbooks/configure-opnfvhost.yml')
-rw-r--r--xci/playbooks/configure-opnfvhost.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/xci/playbooks/configure-opnfvhost.yml b/xci/playbooks/configure-opnfvhost.yml
index da478255..d96aef79 100644
--- a/xci/playbooks/configure-opnfvhost.yml
+++ b/xci/playbooks/configure-opnfvhost.yml
@@ -126,6 +126,18 @@
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
+ package:
+ name: "{{ docker_package_name }}"
+ state: latest
+ when: lookup('env', 'JENKINS_HOME') != ""
+ # install shade on opnfv host only if we are running as part of CI
+ - name: install shade
+ pip:
+ name: shade
+ state: present
+ when: lookup('env', 'JENKINS_HOME') != ""
- hosts: localhost
remote_user: root