pagure: Adjust the useradd command for rhel8
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
a9950ebed8
commit
644da4f735
1 changed files with 8 additions and 0 deletions
|
@ -73,6 +73,14 @@
|
|||
- name: Create the "git" user
|
||||
command: useradd --move-home --login git --home /srv/git/
|
||||
creates=/srv/git/
|
||||
when: env != 'pagure-staging'
|
||||
tags:
|
||||
- pagure
|
||||
|
||||
- name: Create the "git" user
|
||||
command: useradd --create-home --home-dir=/srv/git/ git
|
||||
creates=/srv/git/
|
||||
when: env == 'pagure-staging'
|
||||
tags:
|
||||
- pagure
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue