blob: 081ea8fd5610e6e55f01473493ec57ec5fe4ff55 [file] [log] [blame]
---
# tasks file for apigee-opdk-setup-os
- name: Yum update with no proxy
yum:
name: '*'
state: latest
- name: Update basic yum os packages with no proxy
become: yes
yum:
name: "{{ item }}"
state: present
with_items: "{{ yum_os_minimum_packages }}"
- name: Download pip package manager with no proxy
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
- name: Install pip package manager with no proxy
become: yes
tags: ['pip-manager']
shell: python /tmp/get-pip.py
when: pip_conf_dir is not defined
- name: Update pip
become: yes
pip:
name: pip
state: latest
- name: Update python packages with no proxy
become: yes
pip:
name: '{{ item }}'
state: present
with_items: "{{ pip_packages }}"