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 6969 tasks_from : install.yml
7070 when : " 'openhpc' in group_names"
7171
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-
7672 # - import_playbook: portal.yml
7773 - name : Open Ondemand server (packages)
7874 include_role :
10298 tasks_from : jupyter_compute.yml
10399 when : " 'openondemand_jupyter' in group_names"
104100
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+
105105 # - import_playbook: monitoring.yml:
106106 - import_role :
107107 name : opensearch
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ dnf_repos_repolist:
1616 base_url : " {{ dnf_repos_rocky_ark_prefix }}/AppStream/{{ dnf_repos_rocky_ark_suffix }}"
1717- file : rocky
1818 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 }}"
2020- file : rocky-extras
2121 name : extras
2222 base_url : " {{ dnf_repos_rocky_ark_prefix }}/extras/{{ dnf_repos_rocky_ark_suffix }}"
Original file line number Diff line number Diff line change 66 loop : " {{ openondemand_osc_ood_defaults | dict2items }}"
77 when : (item.key in hostvars[inventory_hostname]) or (item.value)
88
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+
916# if using PAM auth we need apache installed but NOT started so split the osc.ood role up:
1017- include_role :
1118 name : osc.ood
1219 tasks_from : install-package.yml
1320 vars_from : " Rocky/{{ ansible_distribution_major_version }}.yml"
14- public : yes # Expose the vars from this role to the rest of the play
1521 when : appliances_mode != 'configure'
1622 # can't set vars: from a dict hence the workaround above
1723
Original file line number Diff line number Diff line change 11# https://osc.github.io/ood-documentation/latest/authentication/pam.html
22---
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
36
47- name : Enable Apache PAM module
58 lineinfile :
Original file line number Diff line number Diff line change 4848 tags : install
4949 yum :
5050 name : ' @Xfce'
51+ when : appliances_mode != 'configure' # dnf group/module installs aren't idempotent so only run during build
5152
5253# - name: Ensure python3.9 installed
5354# dnf:
You can’t perform that action at this time.
0 commit comments