Add 'tower_settings' module for managing Ansible Tower Settings (#43933)

* add the tower_settings module
This commit is contained in:
jainnikhil30
2018-08-28 10:12:38 +05:30
committed by Toshio Kuratomi
parent 22d5f5d97f
commit 884c74a6c5
3 changed files with 123 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
cloud/tower
shippable/tower/group1

View File

@@ -0,0 +1,19 @@
- name: Set the value of AWX_PROOT_SHOW_PATHS
tower_settings:
name: "AWX_PROOT_SHOW_PATHS"
value: "'/var/lib/awx/projects/', '/tmp'"
register: result
- assert:
that:
- "result is changed"
- name: Set the value of AWX_PROOT_BASE_PATH
tower_settings:
name: AWX_PROOT_BASE_PATH
value: "/tmp"
register: result
- assert:
that:
- "result.value == '/tmp'"