20 lines
528 B
YAML
20 lines
528 B
YAML
|
---
|
||
|
# This playbook is meant to be used with callable variables, like adhoc or AWX.
|
||
|
# What: Creates a koji user.
|
||
|
- name: Create Koji User
|
||
|
hosts: all
|
||
|
become: true
|
||
|
become_user: koji
|
||
|
vars_files:
|
||
|
- "vars/common.yml"
|
||
|
|
||
|
tasks:
|
||
|
- name: "Create user"
|
||
|
ktdreyer.koji_ansible.koji_user:
|
||
|
koji: "{{ koji_profile | default(primary_koji_profile) }}"
|
||
|
name: "{{ koji_user }}"
|
||
|
permissions: "{{ koji_permissions }}"
|
||
|
krb_principal: "{{ koji_user }}@{{ ipa_realm }}"
|
||
|
state: enabled
|
||
|
...
|