Skip to content

Migrate Tower Job

Go to Automation

View in GitLab

Description

This playbook migrates job templates or workflows between Ansible Controller instances. It exports the specified job or workflow from the source Tower, optionally modifies the name (e.g., appending "QA branch"), and imports it into the target Tower. The playbook supports both job templates and workflows, depending on the contenttype variable.

Credentials

  • Ansible Tower credentials

Input

Variable Description
mytemplate Name of the job template or workflow to migrate.
contenttype Type of content (Job template or Workflow).
ansible_source_host Source Tower instance URL.
ansible_target_host Target Tower instance URL.

Output

None

Dependencies