Initial commit

This commit is contained in:
Jon Ervine
2021-03-02 20:53:43 +08:00
parent 89d3a2dfe1
commit f961b728fa
2919 changed files with 388582 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
---
aliases:
job_templates:
ask_tags_on_launch:
- ask_tags
ask_verbosity_on_launch:
- ask_verbosity
ask_diff_mode_on_launch:
- ask_diff_mode
allow_simultaneous:
- concurrent_jobs_enabled
diff_mode:
- diff_mode_enabled
ask_inventory_on_launch:
- ask_inventory
limit:
- ask_limit
force_handlers:
- force_handlers_enabled
ask_job_type_on_launch:
- ask_job_type
ask_skip_tags_on_launch:
- ask_skip_tags
use_fact_cache:
- fact_caching_enabled
extra_vars:
- ask_extra_vars
ask_credential_on_launch:
- ask_credential
@@ -0,0 +1,13 @@
---
associations:
job_templates:
- related_item: credentials
endpoint: credentials
description: "The credentials used by this job template"
groups:
- related_item: hosts
endpoint: hosts
description: "The hosts associated with this group"
- related_item: groups
endpoint: children
description: "The hosts associated with this group"
+52
View File
@@ -0,0 +1,52 @@
---
examples:
users: |
- name: Add tower user
tower_user:
username: jdoe
password: foobarbaz
email: jdoe@example.org
first_name: John
last_name: Doe
state: present
tower_config_file: "~/tower_cli.cfg"
- name: Add tower user as a system administrator
tower_user:
username: jdoe
password: foobarbaz
email: jdoe@example.org
superuser: yes
state: present
tower_config_file: "~/tower_cli.cfg"
- name: Add tower user as a system auditor
tower_user:
username: jdoe
password: foobarbaz
email: jdoe@example.org
auditor: yes
state: present
tower_config_file: "~/tower_cli.cfg"
- name: Delete tower user
tower_user:
username: jdoe
email: jdoe@example.org
state: absent
tower_config_file: "~/tower_cli.cfg"
job_templates: |
- name: Create tower Ping job template
tower_job_template:
name: "Ping"
job_type: "run"
inventory: "Local"
project: "Demo"
playbook: "ping.yml"
credential: "Local"
state: "present"
tower_config_file: "~/tower_cli.cfg"
survey_enabled: yes
survey_spec: "{{ '{{' }} lookup('file', 'my_survey.json') {{ '}}' }}"
custom_virtualenv: "/var/lib/awx/venv/custom-venv/"
@@ -0,0 +1,16 @@
---
generate_for:
# - credentials
# - credential_types
# - groups
# - hosts
# - inventorues
# - inventory_sources
# - job_templates
# - labels
# - notification_templates
# - organizations
# - projects
- schedules
# - teams
# - users
+7
View File
@@ -0,0 +1,7 @@
---
name_to_id_endpoint_resolution:
webhook_credential: credentials
project: projects
inventory: inventories
organization: organizations
credential: credentials