mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-16 13:56:03 +08:00
retrace: create user/group in advance
addressing:
TASK [abrt/retrace-pre : file] ******************************************************************************************
Friday 20 March 2020 09:02:34 +0000 (0:00:00.056) 0:05:28.187 **********
fatal: [retrace-stg.aws.fedoraproject.org]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/libexec/platform-python"}, "changed": false, "gid": 0, "group": "root", "mode": "0755", "msg": "chown failed: failed to look up user retrace", "owner": "root", "path": "/srv/retrace/repos", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 0}
This commit is contained in:
committed by
Pierre-Yves Chibon
parent
41c796e1ad
commit
ebc6835f7b
@@ -1,4 +1,9 @@
|
||||
---
|
||||
# create uid/gid - this is normaly done by retrace package
|
||||
# but the package is not installed yet at this momement
|
||||
- group: name="retrace" state=present gid=174
|
||||
- user: name="retrace" group=retrace groups=mock uid=174
|
||||
|
||||
- file:
|
||||
path: /srv/retrace/repos
|
||||
state: directory
|
||||
|
||||
Reference in New Issue
Block a user