blob: 39ae42f14ff9eab787546d32fba40bb5ac798768 [file] [log] [blame]
---
- name: Update basic yum os packages
become: yes
yum:
name: "{{ item }}"
state: present
with_items:
- bind-utils
- chkconfig
- curl
- tar
- wget
- yum-utils
- unzip
- rsync
- which
- libselinux-python
- nss
- openssh-clients
- openssh-server
- grep
- rpm
- rng-tools
- sed
- unzip
environment:
http_proxy: "{{ http_proxy }}"
https_proxy: "{{ https_proxy }}"
- name: Download pip package manager
become: yes
tags: ['pip-manager']
get_url:
url: https://bootstrap.pypa.io/get-pip.py
dest: /tmp/get-pip.py
when: pip_conf_dir is not defined
environment:
http_proxy: "{{ http_proxy }}"
https_proxy: "{{ https_proxy }}"
- name: Install pip package manager
become: yes
tags: ['pip-manager']
shell: python /tmp/get-pip.py
when: pip_conf_dir is not defined
environment:
http_proxy: "{{ http_proxy }}"
https_proxy: "{{ https_proxy }}"
- name: Update python packages
become: yes
pip:
name: '{{ item }}'
state: present
with_items:
- httplib2
- pexpect
- passlib
- requests
- kazoo
environment:
http_proxy: "{{ http_proxy }}"
https_proxy: "{{ https_proxy }}"