mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 09:27:36 -02:30
fixed up jinja2 templating and documentation
This commit is contained in:
@@ -4,10 +4,13 @@ associations:
|
||||
- related_item: credentials
|
||||
endpoint: credentials
|
||||
description: "The credentials used by this job template"
|
||||
required: False
|
||||
groups:
|
||||
- related_item: hosts
|
||||
endpoint: hosts
|
||||
description: "The hosts associated with this group"
|
||||
required: False
|
||||
- related_item: groups
|
||||
endpoint: children
|
||||
description: "The hosts associated with this group"
|
||||
required: False
|
||||
|
||||
@@ -9,7 +9,7 @@ examples:
|
||||
first_name: John
|
||||
last_name: Doe
|
||||
state: present
|
||||
tower_config_file: "~/tower_cli.cfg"
|
||||
controller_config_file: "~/tower_cli.cfg"
|
||||
|
||||
- name: Add user as a system administrator
|
||||
user:
|
||||
@@ -18,7 +18,7 @@ examples:
|
||||
email: jdoe@example.org
|
||||
superuser: yes
|
||||
state: present
|
||||
tower_config_file: "~/tower_cli.cfg"
|
||||
controller_config_file: "~/tower_cli.cfg"
|
||||
|
||||
- name: Add user as a system auditor
|
||||
user:
|
||||
@@ -27,14 +27,14 @@ examples:
|
||||
email: jdoe@example.org
|
||||
auditor: yes
|
||||
state: present
|
||||
tower_config_file: "~/tower_cli.cfg"
|
||||
controller_config_file: "~/tower_cli.cfg"
|
||||
|
||||
- name: Delete user
|
||||
user:
|
||||
username: jdoe
|
||||
email: jdoe@example.org
|
||||
state: absent
|
||||
tower_config_file: "~/tower_cli.cfg"
|
||||
controller_config_file: "~/tower_cli.cfg"
|
||||
|
||||
job_templates: |
|
||||
- name: Create Ping job template
|
||||
@@ -46,6 +46,6 @@ examples:
|
||||
playbook: "ping.yml"
|
||||
credential: "Local"
|
||||
state: "present"
|
||||
tower_config_file: "~/tower_cli.cfg"
|
||||
controller_config_file: "~/tower_cli.cfg"
|
||||
survey_enabled: yes
|
||||
survey_spec: "{{ '{{' }} lookup('file', 'my_survey.json') {{ '}}' }}"
|
||||
|
||||
@@ -1,7 +1,14 @@
|
||||
---
|
||||
name_to_id_endpoint_resolution:
|
||||
webhook_credential: credentials
|
||||
project: projects
|
||||
credential: credentials
|
||||
credential_type: credential_types
|
||||
default_environment: execution_environments
|
||||
execution_environment: execution_environments
|
||||
inventory: inventories
|
||||
organization: organizations
|
||||
credential: credentials
|
||||
project: projects
|
||||
source_project: projects
|
||||
team: teams
|
||||
unified_job_template: unified_job_templates
|
||||
user: users
|
||||
|
||||
Reference in New Issue
Block a user