Skip to content
Snippets Groups Projects
Commit 922c6897 authored by Smana's avatar Smana
Browse files

Install python-pip on first master

parent eb6025a1
No related branches found
No related tags found
No related merge requests found
- name: Install pip
action:
module: "{{ ansible_pkg_mgr }}"
name: "python-pip"
state: latest
when: ansible_os_family != "CoreOS" and kpm_packages | length > 0
- name: install kpm - name: install kpm
pip: name=kpm state=latest pip:
name: "kpm"
state: "latest"
when: kpm_packages | length > 0
- name: manage kubernetes applications - name: manage kubernetes applications
kpm: kpm:
...@@ -11,3 +21,5 @@ ...@@ -11,3 +21,5 @@
name: "{{item.name}}" name: "{{item.name}}"
with_items: "{{kpm_packages}}" with_items: "{{kpm_packages}}"
register: kpmresults register: kpmresults
environment:
PATH: "{{ ansible_env.PATH }}:{{ bin_dir }}"
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
run_gitinfos: false run_gitinfos: false
common_required_pkgs: common_required_pkgs:
- python-pip
- python-httplib2 - python-httplib2
- openssl - openssl
- curl - curl
......
...@@ -106,8 +106,4 @@ ...@@ -106,8 +106,4 @@
mode: 0640 mode: 0640
when: cloud_provider is defined and cloud_provider == "openstack" when: cloud_provider is defined and cloud_provider == "openstack"
- name: Install kpm
pip:
name: "kpm"
- include: etchosts.yml - include: etchosts.yml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment