Commit 4647315 1 parent 55f63e8 commit 4647315 Copy full SHA for 4647315
File tree 2 files changed +10
-1
lines changed
playbooks/oracle_statistics/oracle_statistics/tasks
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -150,11 +150,14 @@ jobs:
150
150
151
151
- name : Start Ansible Gather Delius Statistics
152
152
env :
153
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
153
154
GITHUB_TOKEN : ${{ secrets.TOKEN }}
154
155
shell : bash
155
156
run : |
156
157
export $GITHUB_TOKEN
158
+ export $GH_TOKEN
157
159
echo $GITHUB_TOKEN
160
+ echo $GH_TOKEN
158
161
export ANSIBLE_CONFIG=$ansible_config
159
162
$command -i $inventory \
160
163
-e hosts=${{ steps.preparetargetname.outputs.TargetHost }} \
Original file line number Diff line number Diff line change 5
5
delegate_to : localhost
6
6
become : no
7
7
8
+ - debug :
9
+ msg : " '{{ lookup('ansible.builtin.env', 'GH_TOKEN') }}'"
10
+ delegate_to : localhost
11
+ become : no
12
+
8
13
- name : Test
9
14
shell : |
10
- echo ${GITHUB_TOKEN } | gh auth login --with-token
15
+ echo ${GH_TOKEN } | gh auth login --with-token
11
16
gh workflow run oracle-db-statistics.yml --ref DBA-651 -f TargetEnvironment=delius-core-dev
12
17
environment :
18
+ GH_TOKEN : " '{{ lookup('ansible.builtin.env', 'GH_TOKEN') }}'"
13
19
GITHUB_TOKEN : " '{{ lookup('ansible.builtin.env', 'GITHUB_TOKEN') }}'"
14
20
register : start_statistics_export
15
21
delegate_to : localhost
You can’t perform that action at this time.
0 commit comments