user: use 1500 UID, let fleets override it
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
42af0f6fa0
commit
dcfc06f86c
|
@ -1,9 +1,8 @@
|
|||
---
|
||||
github_webhook_service_user: 'github'
|
||||
github_webhook_service_user_groups: ['www-data']
|
||||
github_webhook_service_user_uid: 1500
|
||||
github_webhook_service_name: '{{ github_webhook_service_user }}-webhook'
|
||||
# Has to be the UID of Airflow user on the host.
|
||||
github_webhook_service_user_uid: 150000
|
||||
|
||||
github_webhook_home: '/home/{{ github_webhook_service_user }}'
|
||||
github_webhook_venv_path: '{{ github_webhook_home }}/venv'
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
- name: Create webhook group
|
||||
group:
|
||||
name: '{{ github_webhook_service_user }}'
|
||||
gid: '{{ github_webhook_service_user_uid }}'
|
||||
gid: '{{ github_webhook_service_user_uid }}'
|
||||
|
||||
- name: Create webhook user
|
||||
user:
|
||||
|
@ -15,7 +15,7 @@
|
|||
|
||||
- name: Create SSH config directory
|
||||
file:
|
||||
path: '{{ github_webhook_home }}/.ssh'
|
||||
path: '{{ github_webhook_home }}/.ssh'
|
||||
owner: '{{ github_webhook_service_user }}'
|
||||
group: '{{ github_webhook_service_user }}'
|
||||
state: 'directory'
|
||||
|
@ -35,6 +35,6 @@
|
|||
|
||||
- name: Update give webhook user permission to directory
|
||||
file:
|
||||
path: '{{ github_webhook_dest_path }}'
|
||||
path: '{{ github_webhook_dest_path }}'
|
||||
owner: '{{ github_webhook_service_user }}'
|
||||
group: '{{ github_webhook_service_user }}'
|
||||
|
|
Loading…
Reference in New Issue