diff options
Diffstat (limited to 'deploy/adapters/ansible/roles/common')
-rw-r--r-- | deploy/adapters/ansible/roles/common/tasks/main.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deploy/adapters/ansible/roles/common/tasks/main.yml b/deploy/adapters/ansible/roles/common/tasks/main.yml index 8da5603c..1fa0de84 100644 --- a/deploy/adapters/ansible/roles/common/tasks/main.yml +++ b/deploy/adapters/ansible/roles/common/tasks/main.yml @@ -46,15 +46,15 @@ - name: make config template dir exist file: path=/opt/os_templates state=directory mode=0755 -- name: upgrade pip - pip: name=pip state=latest - - name: create pip config directory file: path=~/.pip state=directory - name: update pip.conf template: src=pip.conf dest=~/.pip/{{ pip_conf }} +- name: upgrade pip + pip: name=pip state=latest + - name: install pip packages pip: name={{ item }} state=present extra_args='--pre' with_items: pip_packages |