summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/common/tasks/main.yml
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2015-11-19 08:02:05 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-11-19 08:02:05 +0000
commita5d9a6384c09ff8e84c7e6bfefb9b9202b0c2341 (patch)
tree619d37247db604325ca63421e54733d8ae1d3096 /deploy/adapters/ansible/roles/common/tasks/main.yml
parentbe2bef457417df3aabcf371c8c8b9484c955c0f8 (diff)
parent4251f3ca9b4271649f9670468529ba2b077269d0 (diff)
Merge "support FWaaS and VPNaaS"
Diffstat (limited to 'deploy/adapters/ansible/roles/common/tasks/main.yml')
-rw-r--r--deploy/adapters/ansible/roles/common/tasks/main.yml9
1 files changed, 4 insertions, 5 deletions
diff --git a/deploy/adapters/ansible/roles/common/tasks/main.yml b/deploy/adapters/ansible/roles/common/tasks/main.yml
index 3114e638..3097d092 100644
--- a/deploy/adapters/ansible/roles/common/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/common/tasks/main.yml
@@ -5,11 +5,6 @@
apt: pkg=landscape-common state=absent purge=yes
when: ansible_os_family == "Debian"
-
-- name: install pip packages
- pip: name={{ item }} state=present extra_args='--pre'
- with_items: pip_packages
-
- name: update hosts files to all hosts
template: src=hosts dest=/etc/hosts backup=yes
@@ -42,6 +37,10 @@
- name: update pip.conf
template: src=pip.conf dest=~/.pip/{{ pip_conf }}
+- name: install pip packages
+ pip: name={{ item }} state=present extra_args='--pre'
+ with_items: pip_packages
+
- name: update ntp conf
template: src=ntp.conf dest=/etc/ntp.conf backup=yes