ansible / ansible.builtin / v2.4.0.0-1 / module / tower_project create, update, or destroy Ansible Tower projects | "added in version" 2.3 of ansible.builtin" Authors: Wayne Witzel III (@wwitzel3) preview | supported by communityansible.builtin.tower_project (v2.4.0.0-1) — module
pip
Install with pip install ansible==2.4.0.0.post1
Create, update, or destroy Ansible Tower projects. See U(https://www.ansible.com/tower) for an overview.
- name: Add tower project tower_project: name: "Foo" description: "Foo bar project" organization: "test" state: present tower_config_file: "~/tower_cli.cfg"
name: default: null description: - Name to use for the project. required: true state: choices: - present - absent default: present description: - Desired state of the resource. required: false scm_url: default: null description: - URL of scm resource. required: false scm_type: choices: - manual - git - hg - svn default: manual description: - Type of scm resource. required: false scm_clean: default: false description: - Remove local modifications before updating. required: false local_path: default: null description: - The server playbook directory for manual projects. required: false scm_branch: default: null description: - The branch to use for the scm resource. required: false tower_host: default: null description: - URL to your Tower instance. required: false description: default: null description: - Description to use for the project. required: false organization: default: null description: - Primary key of organization for project. required: false scm_credential: default: null description: - Name of the credential to use with this scm resource. 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 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 scm_delete_on_update: default: false description: - Remove the repository completely before updating. required: false scm_update_on_launch: default: false description: - Before an update to the local repository before launching a job with this project. required: false