mirror of
https://github.com/ansible/awx.git
synced 2026-05-22 16:27:42 -02:30
Add generator playbook for the AWX Collection modules, along with other module generation tools
This commit is contained in:
52
awx_collection/tools/vars/examples.yml
Normal file
52
awx_collection/tools/vars/examples.yml
Normal 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/"
|
||||
Reference in New Issue
Block a user