File tree Expand file tree Collapse file tree 5 files changed +16
-6
lines changed Expand file tree Collapse file tree 5 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 69
69
tasks_from : install.yml
70
70
when : " 'openhpc' in group_names"
71
71
72
- - name : Install Apache PAM module # Extracted from start of roles/openondemand/tasks/pam_auth.yml to ensure only installed during build
73
- yum :
74
- name : mod_authnz_pam
75
-
76
72
# - import_playbook: portal.yml
77
73
- name : Open Ondemand server (packages)
78
74
include_role :
102
98
tasks_from : jupyter_compute.yml
103
99
when : " 'openondemand_jupyter' in group_names"
104
100
101
+ - name : Install Apache PAM module # Extracted from start of roles/openondemand/tasks/pam_auth.yml to ensure only installed during build
102
+ yum :
103
+ name : mod_authnz_pam
104
+
105
105
# - import_playbook: monitoring.yml:
106
106
- import_role :
107
107
name : opensearch
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ dnf_repos_repolist:
16
16
base_url : " {{ dnf_repos_rocky_ark_prefix }}/AppStream/{{ dnf_repos_rocky_ark_suffix }}"
17
17
- file : rocky
18
18
name : crb
19
- base_url : " {{ dnf_repos_rocky_ark_prefix }}/AppStream /{{ dnf_repos_rocky_ark_suffix }}"
19
+ base_url : " {{ dnf_repos_rocky_ark_prefix }}/CRB /{{ dnf_repos_rocky_ark_suffix }}"
20
20
- file : rocky-extras
21
21
name : extras
22
22
base_url : " {{ dnf_repos_rocky_ark_prefix }}/extras/{{ dnf_repos_rocky_ark_suffix }}"
Original file line number Diff line number Diff line change 6
6
loop : " {{ openondemand_osc_ood_defaults | dict2items }}"
7
7
when : (item.key in hostvars[inventory_hostname]) or (item.value)
8
8
9
+ # osc.ood variables are exposed to play here instead of setting 'public' in include role so that they will still be exposed during runtime
10
+ - ansible.builtin.include_vars :
11
+ dir : " {{ playbook_dir }}/roles/osc.ood/defaults/main"
12
+
13
+ - ansible.builtin.include_vars :
14
+ file : " {{ playbook_dir }}/roles/osc.ood/vars/Rocky/{{ ansible_distribution_major_version }}.yml"
15
+
9
16
# if using PAM auth we need apache installed but NOT started so split the osc.ood role up:
10
17
- include_role :
11
18
name : osc.ood
12
19
tasks_from : install-package.yml
13
20
vars_from : " Rocky/{{ ansible_distribution_major_version }}.yml"
14
- public : yes # Expose the vars from this role to the rest of the play
15
21
when : appliances_mode != 'configure'
16
22
# can't set vars: from a dict hence the workaround above
17
23
Original file line number Diff line number Diff line change 1
1
# https://osc.github.io/ood-documentation/latest/authentication/pam.html
2
2
---
3
+ - name : Install Apache PAM module # Extracted from start of roles/openondemand/tasks/pam_auth.yml to ensure only installed during build
4
+ yum :
5
+ name : mod_authnz_pam
3
6
4
7
- name : Enable Apache PAM module
5
8
lineinfile :
Original file line number Diff line number Diff line change 48
48
tags : install
49
49
yum :
50
50
name : ' @Xfce'
51
+ when : appliances_mode != 'configure' # dnf group/module installs aren't idempotent so only run during build
51
52
52
53
# - name: Ensure python3.9 installed
53
54
# dnf:
You can’t perform that action at this time.
0 commit comments