mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
feat(ansible): use raw strings
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env
|
||||
#!/usr/bin/env fish
|
||||
|
||||
# configure access
|
||||
set -x 'TOWER_HOST' 'https://awx.example.com/'
|
||||
|
||||
@@ -305,6 +305,8 @@
|
||||
'--exclude-schema=transient_views',
|
||||
] | flatten | unique
|
||||
}}
|
||||
raw_string: !unsafe "{{ this template is not executed, but given as-is as string }}"
|
||||
raw_string_via_jinja_specification: "{% raw -%} 234%234{435lkj{{lkjsdf {%- endraw %}"
|
||||
|
||||
- name: Return data types
|
||||
tags:
|
||||
|
||||
@@ -43,6 +43,10 @@ curl -fs --user 'admin:password' 'https://awx.example.org/api/v2/job_templates/'
|
||||
awx job_templates modify '1' --extra_vars "@vars.yml"
|
||||
awx job_templates modify '5' --extra_vars "@vars.json"
|
||||
|
||||
# Show workflow job templates
|
||||
awx workflow_job_templates get 'some workflow job template'
|
||||
awx workflow_job_templates get -f 'yaml' 'some workflow job template returned as yaml'
|
||||
|
||||
# Show notification templates
|
||||
awx notification_templates list
|
||||
curl -fs --user 'admin:password' 'https://awx.example.org/api/v2/notification_templates/' | jq '.' -
|
||||
|
||||
Reference in New Issue
Block a user