mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 15:27:47 -02:30
regex replace tower_*: to ''
This commit is contained in:
@@ -5,18 +5,18 @@
|
||||
vars:
|
||||
tower_settings: "{{ lookup('awx.awx.tower_api', 'config/') }}"
|
||||
|
||||
- tower_inventory:
|
||||
- inventory:
|
||||
name: localhost
|
||||
organization: Default
|
||||
|
||||
- tower_host:
|
||||
- host:
|
||||
name: localhost
|
||||
inventory: localhost
|
||||
variables:
|
||||
ansible_connection: local
|
||||
|
||||
- name: create an unused SSH / Machine credential
|
||||
tower_credential:
|
||||
credential:
|
||||
name: dummy
|
||||
kind: ssh
|
||||
ssh_key_data: |
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
- block:
|
||||
- name: Add a path to a setting
|
||||
tower_settings:
|
||||
settings:
|
||||
name: AWX_ISOLATION_SHOW_PATHS
|
||||
value: "[{{ project_base_dir }}]"
|
||||
|
||||
@@ -44,12 +44,12 @@
|
||||
|
||||
always:
|
||||
- name: Delete path from setting
|
||||
tower_settings:
|
||||
settings:
|
||||
name: AWX_ISOLATION_SHOW_PATHS
|
||||
value: []
|
||||
|
||||
- name: Delete dummy credential
|
||||
tower_credential:
|
||||
credential:
|
||||
name: dummy
|
||||
kind: ssh
|
||||
state: absent
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
import_tasks: create_project_dir.yml
|
||||
|
||||
- name: Create a manual project
|
||||
tower_project:
|
||||
project:
|
||||
name: "{{ project_name }}"
|
||||
organization: Default
|
||||
scm_type: manual
|
||||
@@ -26,7 +26,7 @@
|
||||
- "result is changed"
|
||||
|
||||
- name: Delete a manual project
|
||||
tower_project:
|
||||
project:
|
||||
name: "{{ project_name }}"
|
||||
organization: Default
|
||||
state: absent
|
||||
|
||||
Reference in New Issue
Block a user