awx.awx.tower_application – create, update, or destroy Ansible Tower applications¶
Note
This plugin is part of the awx.awx collection (version 17.1.0).
To install it use: ansible-galaxy collection install awx.awx
.
To use it in a playbook, specify: awx.awx.tower_application
.
Synopsis¶
Create, update, or destroy Ansible Tower applications. See https://www.ansible.com/tower for an overview.
Parameters¶
Notes¶
Note
If no config_file is provided we will attempt to use the tower-cli library defaults to find your Tower host information.
config_file should contain Tower configuration in the following format host=hostname username=username password=password
Examples¶
- name: Add Foo application
tower_application:
name: "Foo"
description: "Foo bar application"
organization: "test"
state: present
authorization_grant_type: password
client-type: public
- name: Add Foo application
tower_application:
name: "Foo"
description: "Foo bar application"
organization: "test"
state: present
authorization_grant_type: authorization-code
client-type: confidential
redirect_uris:
- http://tower.com/api/v2/
Authors¶
Geoffrey Bacheot (@jffz)