From ac7df0ef652ba7364bd1114453403659d0a3109d Mon Sep 17 00:00:00 2001 From: Pilou Date: Tue, 19 Mar 2019 16:28:16 +0000 Subject: [PATCH] tower_settings: "get" isn't implemented, "value" parameter is required (#54028) * tower_settings doc: 'get' isn't implemented * tower_settings: fix typo in argument_spec --- .../web_infrastructure/ansible_tower/tower_settings.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_settings.py b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_settings.py index 6695fdf302f..c5f572f38b8 100644 --- a/lib/ansible/modules/web_infrastructure/ansible_tower/tower_settings.py +++ b/lib/ansible/modules/web_infrastructure/ansible_tower/tower_settings.py @@ -20,15 +20,17 @@ author: "Nikhil Jain (@jainnikhil30)" version_added: "2.7" short_description: Modify Ansible Tower settings. description: - - Get, Modify Ansible Tower settings. See + - Modify Ansible Tower settings. See U(https://www.ansible.com/tower) for an overview. options: name: description: - - Name of setting to get/modify + - Name of setting to modify + required: True value: description: - Value to be modified for given setting. + required: True extends_documentation_fragment: tower ''' @@ -67,8 +69,8 @@ except ImportError: def main(): argument_spec = dict( - name=dict(Required=True), - value=dict(Required=True), + name=dict(required=True), + value=dict(required=True), ) module = TowerModule(