Skip to content

Commit

Permalink
feat(playbook): Add playbook for teams creation and permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonpagetas committed Aug 14, 2024
1 parent 57d9c96 commit c95737b
Showing 1 changed file with 50 additions and 1 deletion.
51 changes: 50 additions & 1 deletion playbooks/centurion_teams.yaml → playbooks/teams.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{%- endif %}
become: false
gather_facts: false
connection: local # Play uses HTTP requests ONLY!!
connection: local # Play uses HTTP requests ONLY!


tasks:
Expand Down Expand Up @@ -242,3 +242,52 @@
run_once: true
no_log: > # Contains a secret that logging shows
{{ nfc_pb_disable_log | default(true) }}
vars:

nfc_pb_awx_tower_template:

- name: "Centurion/access/teams"
ask_tags_on_launch: false
ask_inventory_on_launch: true
ask_credential_on_launch: true
ask_limit_on_launch: true
concurrent_jobs_enabled: true
description: Creation and patching of teams and permissions
execution_environment: "No Fuss Computing EE"
job_type: "run"
# job_tags: complete
labels:
- centurion_erp
- itsm
- itam
- access
- permissions
- teams
use_fact_cache: true
credential_types:
- name: 'Playbook/teams/centurion'
description: |
Credentials for authentication to centurion_erp
inputs: |
fields:
- id: centurion_url
type: string
label: centurion url
help_text: Ensure that `https://` is prefixed to url
- id: centurion_token
type: string
label: api token
secret: true
- id: centurion_validate_certs
type: boolean
label: Validate SSL Certificate
required:
- itsm_api
- itsm_token
injectors: >
env:
CENTURION_API: '{{ centurion_url }}'
CENTURION_TOKEN: '{{ centurion_token }}'
CENTURION_VALIDATE_CERTS: '{{ centurion_validate_certs | default(true) }}'

0 comments on commit c95737b

Please sign in to comment.