@@ -184,7 +184,7 @@ jobs:
184
184
ansible/roles/secretsmanager-passwords
185
185
ansible/roles/get-modernisation-platform-facts
186
186
path : roles
187
- ref : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.SourceCodeVersion || 'main' }}
187
+ ref : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.SourceConfigVersion || 'main' }}
188
188
fetch-depth : 0
189
189
190
190
- name : Configure AWS Credentials
@@ -201,7 +201,7 @@ jobs:
201
201
run : |
202
202
export ANSIBLE_CONFIG=$ansible_config
203
203
ln -s $PWD/roles/ansible/roles $PWD/operations/playbooks/oracle_backup/roles
204
- $backup_command -i $inventory -e rman_target=$RmanTarget -e daily_weekly=$Period -e enable_trace=$EnableTrace $VerboseOutput
204
+ $backup_command -i $inventory -e ansible_aws_ssm_bucket_name=${{ vars.ANSIBLE_AWS_SSM_BUCKET_NAME }} -e rman_target=$RmanTarget -e daily_weekly=$Period -e enable_trace=$EnableTrace $VerboseOutput
205
205
206
206
- name : Start Ansible Backup On First Standby (If Exists) If Primary Backup Failed
207
207
if : ${{ steps.backup.outcome == 'failure' && contains(env.RmanTarget,'primarydb') }}
@@ -211,7 +211,7 @@ jobs:
211
211
then
212
212
export ANSIBLE_CONFIG=$ansible_config
213
213
ln -s $PWD/roles/ansible/roles $PWD/operations/playbooks/oracle_backup/roles
214
- $backup_command -i $inventory -e rman_target=${RmanTarget/primarydb/standbydb1} -e daily_weekly=$Period -e enable_trace=$EnableTrace $VerboseOutput
214
+ $backup_command -i $inventory -e ansible_aws_ssm_bucket_name=${{ vars.ANSIBLE_AWS_SSM_BUCKET_NAME }} -e rman_target=${RmanTarget/primarydb/standbydb1} -e daily_weekly=$Period -e enable_trace=$EnableTrace $VerboseOutput
215
215
else
216
216
echo "Standby Not Configured"
217
217
fi
@@ -220,12 +220,12 @@ jobs:
220
220
run : |
221
221
export ANSIBLE_CONFIG=$ansible_config
222
222
ln -s $PWD/roles/ansible/roles $PWD/operations/playbooks/oracle_backup/roles
223
- $validate_command -i $inventory -e rman_target=$RmanTarget -e fix_absent_chunks=$FixAbsentChunks $VerboseOutput
223
+ $validate_command -i $inventory -e ansible_aws_ssm_bucket_name=${{ vars.ANSIBLE_AWS_SSM_BUCKET_NAME }} -e rman_target=$RmanTarget -e fix_absent_chunks=$FixAbsentChunks $VerboseOutput
224
224
225
225
- name : Start Ansible Delete DBIDs Not In Use
226
226
if : ${{ env.DeleteDefunct == 'yes' }}
227
227
run : |
228
228
export ANSIBLE_CONFIG=$ansible_config
229
229
ln -s $PWD/roles/ansible/roles $PWD/operations/playbooks/oracle_backup/roles
230
- $delete_dbids_command -i $inventory -e rman_target=$RmanTarget $VerboseOutput
230
+ $delete_dbids_command -i $inventory -e ansible_aws_ssm_bucket_name=${{ vars.ANSIBLE_AWS_SSM_BUCKET_NAME }} -e rman_target=$RmanTarget $VerboseOutput
231
231
0 commit comments