diff --git a/file-creation-single.yml b/file-creation-single.yml index 71ce9c0..e33ef33 100644 --- a/file-creation-single.yml +++ b/file-creation-single.yml @@ -10,7 +10,7 @@ vars: - provision_host : "{{ tower_provision_host | default(ansible_play_hosts | random) }}" + provision_host: "{{ tower_provision_host | default(ansible_play_hosts | random) }}" tasks: diff --git a/file-removal-test.yml b/file-removal-test.yml index 900429e..f0f66f5 100644 --- a/file-removal-test.yml +++ b/file-removal-test.yml @@ -6,7 +6,7 @@ vars: - provision_host: "{{ tower_provision_host | default('localhost') }}" + provision_host: "{{ tower_provision_host | default(ansible_play_hosts | random) }}" tasks: diff --git a/inmem-test.yml b/inmem-test.yml index 46dab2c..88e32c7 100644 --- a/inmem-test.yml +++ b/inmem-test.yml @@ -10,12 +10,7 @@ vars: - lab_tower_hosts: - - lab-dev-1 - - lab-dev-2 - - lab-prod-1 - - lab-prod-2 - provision_host : "{{ tower_provision_host | default(lab_tower_hosts | random) }}" + provision_host: "{{ tower_provision_host | default(ansible_play_hosts | random) }}" tasks: