diff options
author | Chornyi, TarasX <tarasx.chornyi@intel.com> | 2018-11-05 14:58:34 +0200 |
---|---|---|
committer | Taras Chornyi <tarasx.chornyi@intel.com> | 2018-11-20 16:13:56 +0000 |
commit | de0d1c9cd88d3de20c69e229a289852b8f997eac (patch) | |
tree | 21ff360b73c5422af7287e33d15fabf85150847d /ansible/roles/docker | |
parent | e13f82dc70084480611bab5aa04ac126c0b1ff0e (diff) |
Install barometer collectd container on all hosts
nsb_install.sh script will now install docker and barometer
collectd container on all baremetal hosts.
JIRA: YARDSTICK-1510
Change-Id: I927f96ec2e11b2111b76217597054a6471189f29
Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com>
Diffstat (limited to 'ansible/roles/docker')
-rw-r--r-- | ansible/roles/docker/tasks/Debian.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ansible/roles/docker/tasks/Debian.yml b/ansible/roles/docker/tasks/Debian.yml index 7f998de45..a03040d88 100644 --- a/ansible/roles/docker/tasks/Debian.yml +++ b/ansible/roles/docker/tasks/Debian.yml @@ -14,3 +14,19 @@ --- - name: Install docker.io action: "{{ ansible_pkg_mgr }} name=docker.io state=present force=yes" + + - name: Update package manager cache + tags: + - cache_update + package: + update_cache: yes + + - name: Install python-pip + package: + name: python-pip + state: present + + - name: Install docker-py + pip: + name: docker-py + state: present |