Skip to content

Instantly share code, notes, and snippets.

@weiyentan
Created September 13, 2019 12:18
Show Gist options
  • Save weiyentan/d88f278ac790c3754946004a985d00b9 to your computer and use it in GitHub Desktop.
Save weiyentan/d88f278ac790c3754946004a985d00b9 to your computer and use it in GitHub Desktop.
tower_job_launch:
job_template: "APFW - Helper playbook - Transfer archive to management host"
inventory: "{{ inventory }}"
credential: "{{ tower_jobcredential }}"
limit: "{{ management_server }}"
tower_username: "{{ tower_username }}"
tower_password: "{{ tower_password }}"
tower_verify_ssl: no
extra_vars:
- { management_server: "{{ management_server }}" , search_term: "{{ search_term }}" , destination_logpath: "{{ destination_logpath }}" }
register: job
@bsrgsit
Copy link

bsrgsit commented Jul 10, 2020

Hi,

Were you able to test this.

I am always getting failed to parse some of the extra variables error.

Appreciate your help.

@weiyentan
Copy link
Author

I used > in the extra-vars and no - in the list

Extra-vars :>
entry here

Am on my phone at the moment. Will dig up a working example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment