copr: that was probably a wrong place to create users
This commit is contained in:
parent
1d58562bfa
commit
067f4e7998
1 changed files with 7 additions and 7 deletions
|
@ -43,13 +43,6 @@
|
||||||
hostname: name="{{copr_hostbase}}.cloud.fedoraproject.org"
|
hostname: name="{{copr_hostbase}}.cloud.fedoraproject.org"
|
||||||
when: datacenter != "aws"
|
when: datacenter != "aws"
|
||||||
|
|
||||||
# To avoid ID collisions with roles that are provisioned earlier
|
|
||||||
- name: pre-create users and groups with specifics UIDs and GIDs
|
|
||||||
tasks:
|
|
||||||
- group: name="copr-signer" state=present gid=989
|
|
||||||
- group: name="apache" state=present gid=48
|
|
||||||
- user: name="copr-signer" group=copr-signer groups=apache uid=992
|
|
||||||
|
|
||||||
- name: provision instance
|
- name: provision instance
|
||||||
hosts: copr_keygen_dev:copr_keygen_stg:copr_keygen:copr_keygen_dev_aws:copr_keygen_aws
|
hosts: copr_keygen_dev:copr_keygen_stg:copr_keygen:copr_keygen_dev_aws:copr_keygen_aws
|
||||||
gather_facts: True
|
gather_facts: True
|
||||||
|
@ -59,6 +52,13 @@
|
||||||
- "/srv/private/ansible/vars.yml"
|
- "/srv/private/ansible/vars.yml"
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
|
# To avoid ID collisions with roles that are provisioned earlier
|
||||||
|
- name: pre-create users and groups with specifics UIDs and GIDs
|
||||||
|
tasks:
|
||||||
|
- group: name="copr-signer" state=present gid=989
|
||||||
|
- group: name="apache" state=present gid=48
|
||||||
|
- user: name="copr-signer" group=copr-signer groups=apache uid=992
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
- nagios_client
|
- nagios_client
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue