Updating tower_job_template.py (#38821)

* Updating tower_job_template.py

* tower_job_template: Update parameter version_added to 2.7

* Ensure that unset credentials aren't passed

Passing empty strings for unset credentials causes ValueErrors as
the API expects an integer. Don't pass unset credentials
This commit is contained in:
Andrew J Huffman 2018-06-05 01:33:51 -04:00 committed by Will Thames
commit fb61680ccd
2 changed files with 117 additions and 46 deletions

View file

@ -44,7 +44,7 @@
project: Job Template Test Project
inventory: Demo Inventory
playbook: hello_world.yml
machine_credential: Demo Credential
credential: Demo Credential
job_type: run
state: present
register: result