ansible / ansible.builtin / v2.4.2.0-1 / module / tower_inventory create, update, or destroy Ansible Tower inventory. | "added in version" 2.3 of ansible.builtin" Authors: Wayne Witzel III (@wwitzel3) preview | supported by communityansible.builtin.tower_inventory (v2.4.2.0-1) — module
pip
Install with pip install ansible==2.4.2.0.post1
Create, update, or destroy Ansible Tower inventories. See U(https://www.ansible.com/tower) for an overview.
- name: Add tower inventory tower_inventory: name: "Foo Inventory" description: "Our Foo Cloud Servers" organization: "Bar Org" state: present tower_config_file: "~/tower_cli.cfg"
name: description: - The name to use for the inventory. required: true state: choices: - present - absent default: present description: - Desired state of the resource. required: false variables: default: null description: - Inventory variables. Use '@' to get from file. required: false tower_host: default: null description: - URL to your Tower instance. required: false description: default: null description: - The description to use for the inventory. required: false organization: description: - Organization the inventory belongs to. required: true 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