Skip to content

Commit

Permalink
ADW/ACC config via group vars
Browse files Browse the repository at this point in the history
  • Loading branch information
gionn committed Nov 12, 2024
1 parent 7a50121 commit 7b8eb4b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
"filename": "playbooks/acs.yml",
"hashed_secret": "3a0b8a438a9efa61267357269709a946d797b9bd",
"is_verified": false,
"line_number": 437,
"line_number": 431,
"is_secret": false
}
],
Expand Down Expand Up @@ -259,5 +259,5 @@
}
]
},
"generated_at": "2024-09-16T09:39:31Z"
"generated_at": "2024-11-12T09:16:56Z"
}
1 change: 1 addition & 0 deletions group_vars/acc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
acc_app_configuration: {}
4 changes: 4 additions & 0 deletions group_vars/adw.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
adw_app_configuration:
plugins:
processService: false
microsoftOnline: false
10 changes: 2 additions & 8 deletions playbooks/acs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,6 @@
gather_facts: false
vars:
acs_version_requirement: "{{ acs.version is version('7.4', 'ge') }}"
adf_default_configuration: {}
roles:
- role: "../roles/adf_app"
when: acs_version_requirement
Expand All @@ -400,7 +399,7 @@
adf_app_configuration: >-
{{
adf_app_oauth_configuration | default({}) |
ansible.builtin.combine(adf_default_configuration, recursive=true)
ansible.builtin.combine(acc_app_configuration, recursive=true)
}}
post_tasks:
- name: Update installation status file with ACC
Expand All @@ -422,11 +421,6 @@
- name: Alfresco Digital Workspace Role
hosts: adw
gather_facts: false
vars:
adf_default_configuration:
plugins:
processService: false
microsoftOnline: false
roles:
- role: "../roles/adf_app"
when: acs.edition == "Enterprise"
Expand All @@ -444,7 +438,7 @@
adf_app_configuration: >-
{{
adf_app_oauth_configuration | default({}) |
ansible.builtin.combine(adf_default_configuration, recursive=true)
ansible.builtin.combine(adw_app_configuration, recursive=true)
}}
post_tasks:
- name: Update installation status file with ADW
Expand Down

0 comments on commit 7b8eb4b

Please sign in to comment.