Skip to content

Commit

Permalink
Add openshift python library install
Browse files Browse the repository at this point in the history
  • Loading branch information
flyemsafe committed Jan 7, 2021
1 parent b542ae8 commit 489e910
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ required_rpm_pakcages:
- java-1.8.0-openjdk-devel.x86_64
- tmux
- python3-dns
- python3-pip
- python3-lxml
- cargo
- lm_sensors
Expand Down
7 changes: 7 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
register: pkg_installed
changed_when: pkg_installed.stdout == 'yes'

- name: Install required python libraries
become: yes
become_user: "{{ admin_user }}"
pip:
name: openshift
extra_args: --user

- name: configure shell extras
include_tasks: configure_shell.yml
when: configure_shell|bool
Expand Down

0 comments on commit 489e910

Please sign in to comment.