Skip to content

Commit 489e910

Browse files
committed
Add openshift python library install
1 parent b542ae8 commit 489e910

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

defaults/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ required_rpm_pakcages:
116116
- java-1.8.0-openjdk-devel.x86_64
117117
- tmux
118118
- python3-dns
119+
- python3-pip
119120
- python3-lxml
120121
- cargo
121122
- lm_sensors

tasks/main.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@
1616
register: pkg_installed
1717
changed_when: pkg_installed.stdout == 'yes'
1818

19+
- name: Install required python libraries
20+
become: yes
21+
become_user: "{{ admin_user }}"
22+
pip:
23+
name: openshift
24+
extra_args: --user
25+
1926
- name: configure shell extras
2027
include_tasks: configure_shell.yml
2128
when: configure_shell|bool

0 commit comments

Comments
 (0)