File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
.github/playbooks/configs Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -19,4 +19,11 @@ controller_projects:
19
19
scm_url : https://github.com/ansible/ansible-examples.git
20
20
description : ansible-examples
21
21
organization : Satellite
22
+ - name : Test Inventory source project with credential
23
+ scm_type : git
24
+ scm_url : https://github.com/ansible/ansible-examples.git
25
+ description : ansible-examples
26
+ organization : Satellite
27
+ credential : gitlab-personal-access-token for satqe_auto_droid
28
+ wait : false
22
29
...
Original file line number Diff line number Diff line change
1
+ ---
2
+ bugfixes :
3
+ - Fixed issue where `credential` was not working for project and instead the old `scm_credential` option remained.
Original file line number Diff line number Diff line change 10
10
local_path : " {{ __controller_project_item.local_path | default(omit, true) }}"
11
11
scm_branch : " {{ __controller_project_item.scm_branch | default(omit, true) }}"
12
12
scm_refspec : " {{ __controller_project_item.scm_refspec | default(omit, true) }}"
13
- credential : " {{ __controller_project_item.scm_credential | default(__controller_project_item.credential.name | default(omit, true)) }}"
13
+ credential : " {{ __controller_project_item.credential.name | default(__controller_project_item.credential | default(__controller_project_item.scm_credential | default(omit, true) )) }}"
14
14
scm_clean : " {{ __controller_project_item.scm_clean | default(omit) }}"
15
15
scm_delete_on_update : " {{ __controller_project_item.scm_delete_on_update | default(omit) }}"
16
16
scm_track_submodules : " {{ __controller_project_item.scm_track_submodules | default(omit) }}"
You can’t perform that action at this time.
0 commit comments