mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-01 05:51:56 +08:00
fix 1900 failures of the following case issue: `name[casing]: All names should start with an uppercase letter.` Signed-off-by: Ryan Lerch <rlerch@redhat.com>
21 lines
745 B
YAML
21 lines
745 B
YAML
---
|
|
- name: Setup the root password
|
|
ansible.builtin.user:
|
|
name: root
|
|
password: "{{ copr_root_passwords[deployment_type][copr_machine_type] }}"
|
|
tags:
|
|
- root_password
|
|
- rootpw
|
|
|
|
- name: Create copr-signer group
|
|
group: name="copr-signer" state=present gid=989
|
|
when: "'copr_keygen_aws' in group_names or 'copr_keygen_dev_aws' in group_names"
|
|
|
|
- name: Pre-create the apache group so it can be assigned to copr-signer
|
|
group: name="apache" state=present gid=48
|
|
when: "'copr_keygen_aws' in group_names or 'copr_keygen_dev_aws' in group_names"
|
|
|
|
- name: Create copr-signer user
|
|
user: name="copr-signer" group=copr-signer groups=apache uid=992
|
|
when: "'copr_keygen_aws' in group_names or 'copr_keygen_dev_aws' in group_names"
|