ansible / ansible.builtin / v2.3.3.0-1 / module / tower_job_template create, update, or destroy Ansible Tower job_template. | "added in version" 2.3 of ansible.builtin" Authors: Wayne Witzel III (@wwitzel3) preview | supported by communityansible.builtin.tower_job_template (v2.3.3.0-1) — module
pip
Install with pip install ansible==2.3.3.0.post1
Create, update, or destroy Ansible Tower job templates. See U(https://www.ansible.com/tower) for an overview.
- name: Create tower Ping job template tower_job_template: name: Ping job_type: run inventory: Local project: Demo playbook: ping.yml machine_credential: Local state: present tower_config_file: "~/tower_cli.cfg"
name: description: - Name to use for the job_template. required: true forks: default: null description: - The number of parallel or simultaneous processes to use while executing the playbook. required: false limit: default: null description: - A host pattern to further constrain the list of hosts managed or affected by the playbook required: false state: choices: - present - absent default: present description: - Desired state of the resource. required: false project: description: - Project to use for the job_template. required: true ask_tags: default: false description: - Prompt user for job tags on launch. required: false job_tags: default: null description: - The job_tags to use for the job_template. required: false job_type: choices: - run - check - scan description: - The job_type to use for the job_template. required: true playbook: description: - Playbook to use for the job_template. required: true inventory: default: null description: - Inventory to use for the job_template. required: false skip_tags: default: null description: - The skip_tags to use for the job_template. required: false verbosity: choices: - verbose - debug default: null description: - Control the output level Ansible produces as the playbook runs. required: false tower_host: default: null description: - URL to your Tower instance. required: false description: default: null description: - Description to use for the job_template. required: false ask_job_type: default: false description: - Prompt user for job type on launch. required: false ask_inventory: default: false description: - Propmt user for inventory on launch. required: false ask_credential: default: false description: - Prompt user for credential on launch. required: false ask_extra_vars: default: false description: - Prompt user for extra_vars on launch. required: false become_enabled: default: false description: - Should become_enabled. required: false tower_password: default: null description: - Password for your Tower instance. required: false tower_username: default: null description: - Username for your Tower instance. required: false extra_vars_path: default: null description: - Path to the extra_vars yaml file. required: false host_config_key: default: null description: - Allow provisioning callbacks using this host config key. required: false cloud_credential: default: null description: - Cloud_credential to use for the job_template. required: false tower_verify_ssl: default: true description: - Dis/allow insecure connections to Tower. If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. required: false tower_config_file: default: null description: - Path to the Tower config file. See notes. required: false machine_credential: default: null description: - Machine_credential to use for the job_template. required: false network_credential: default: null description: - The network_credential to use for the job_template. required: false