regex replace tower_*: to ''

This commit is contained in:
Seth Foster
2021-04-28 18:17:07 -04:00
parent 44fed1d7c1
commit a695274cb6
33 changed files with 251 additions and 251 deletions

View File

@@ -5,14 +5,14 @@
inv_name: "AWX-Collection-tests-tower_host-inv-{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}"
- name: Create an Inventory
tower_inventory:
inventory:
name: "{{ inv_name }}"
organization: Default
state: present
register: result
- name: Create a Host
tower_host:
host:
name: "{{ host_name }}"
inventory: "{{ result.id }}"
state: present
@@ -25,7 +25,7 @@
- "result is changed"
- name: Delete a Host
tower_host:
host:
name: "{{ result.id }}"
inventory: "{{ inv_name }}"
state: absent
@@ -36,7 +36,7 @@
- "result is changed"
- name: Check module fails with correct msg
tower_host:
host:
name: test-host
description: Host Description
inventory: test-non-existing-inventory