Allow to add more groups to github_webhook_service_user
Signed-off-by: Alexis Pentori <alexis@status.im>
This commit is contained in:
parent
2a5482f230
commit
81e93a58df
|
@ -21,3 +21,5 @@ github_webhook_repo_branch:
|
|||
The `github_webhook_secret` is generated when configuring the webhook in the repository.
|
||||
|
||||
The public key associated to `github_webhook_ssh_key` has to be added as a Deploy key in the repository setting.
|
||||
|
||||
The user `github_webhook_service_user` can be added to additional group by overriding the list `github_webhook_user_additional_group`.
|
||||
|
|
|
@ -28,3 +28,5 @@ github_webhook_dependencies:
|
|||
#github_webhook_repo_url: ~
|
||||
#github_webhook_repo_branch: ~
|
||||
|
||||
github_wehbook_user_additional_group:
|
||||
- 'www-data'
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
user:
|
||||
name: '{{ github_webhook_service_user }}'
|
||||
group: '{{ github_webhook_service_user }}'
|
||||
groups: ['www-data']
|
||||
groups: '{{ github_webhook_user_addtional_group }}'
|
||||
uid: '{{ github_webhook_service_user_uid }}'
|
||||
create_home: true
|
||||
comment: 'Airflow Webhook User'
|
||||
|
|
Loading…
Reference in New Issue