From 771828eb521f7e4a8a877ac218441b76682c5593 Mon Sep 17 00:00:00 2001 From: handreas <andreas.hamacher@monash.edu> Date: Thu, 23 Sep 2021 12:38:14 +1000 Subject: [PATCH] adding python3-jinja2 package deployment for RHEL --- roles/deploy-xorg/tasks/main.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/roles/deploy-xorg/tasks/main.yml b/roles/deploy-xorg/tasks/main.yml index 95bfe1e6..9024038f 100644 --- a/roles/deploy-xorg/tasks/main.yml +++ b/roles/deploy-xorg/tasks/main.yml @@ -1,4 +1,12 @@ --- +- name: install dependencies + yum: + name: python36-jinja2 + enablerepo: epel + state: present + become: true + when: ansible_os_family=="RedHat" + - name: create /opt/generate-xorg and template dirs become: yes file: @@ -41,7 +49,7 @@ - name: deploy desktop related packages package: name: - - python-is-python2 # compatibility package for get-xorg.py + #- python-is-python2 # compatibility package for get-xorg.py - python-tk #this is to get the Desktop Walltime script to work - python-pexpect #this is to make the ansible expect module work state: present -- GitLab