You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration
Pilou 77e01e6abc tower_role: ensure alias of "validate_certs" parameter is handled (#57518)
* tower_role: ensure alias of validate_certs is handled

* tower modules: remove tower_verify_ssl alias too

Error was:

    Failed to update role: The Tower server claims it was sent a bad request.
    GET https://tower/api/v2/projects/22/object_roles/
    Params: [('tower_verify_ssl', False), ('role_field', 'admin_role')]
    Data: None
    Response: {"detail": "Role has no field named 'tower_verify_ssl'"}

Full traceback:

    File "/tmp/ansible_tower_role_payload_7_2p0X/__main__.py", line 145, in main
      result = role.grant(**params)
    File "/usr/local/lib/python2.7/dist-packages/tower_cli/resources/role.py", line 365, in grant
      return self.role_write(fail_on_found=fail_on_found, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/tower_cli/resources/role.py", line 242, in role_write
      fail_on_multiple_results=True, **data)
    File "/usr/local/lib/python2.7/dist-packages/tower_cli/models/base.py", line 301, in read
      r = client.get(url, params=params)
    File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 546, in get
      return self.request('GET', url, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/tower_cli/api.py", line 299, in request
      kwargs.get('data', None), r.content.decode('utf8'))
6 years ago
..
host_vars ansible-test: Use psrp for 2008 host ci_complete (#55273) 6 years ago
targets tower_role: ensure alias of "validate_certs" parameter is handled (#57518) 6 years ago
cloud-config-aws.ini.template Overhaul ansible-test cloud test plugins. (#53044) 6 years ago
cloud-config-azure.ini.template Overhaul ansible-test cloud test plugins. (#53044) 6 years ago
cloud-config-cloudscale.ini.template Overhaul ansible-test cloud test plugins. (#53044) 6 years ago
cloud-config-cs.ini.template Overhaul ansible-test cloud test plugins. (#53044) 6 years ago
cloud-config-gcp.ini.template Overhaul ansible-test cloud test plugins. (#53044) 6 years ago
cloud-config-hcloud.ini.template Add Hetzner Cloud to CI integration tests. 6 years ago
cloud-config-opennebula.ini.template Overhaul ansible-test cloud test plugins. (#53044) 6 years ago
cloud-config-openshift.kubeconfig.template Initial OpenShift integration test support. (#36207) 7 years ago
cloud-config-scaleway.ini.template Migrate Scaleway tests to integration tests 6 years ago
cloud-config-tower.ini.template Overhaul ansible-test cloud test plugins. (#53044) 6 years ago
cloud-config-vcenter.ini.template Add proxy vars to vcenter integration test config 6 years ago
cloud-config-vultr.ini.template tests: vultr: convert legacy tests to targets (#50156) 6 years ago
integration.cfg Force tests to set ansible_python_interpreter. (#54191) 6 years ago
integration_config.yml Fix pip integration test. 7 years ago
inventory Overhaul ansible-test code coverage and injector. (#53510) 6 years ago
inventory.networking.template Rename MSC modules to MSO nomenclature (#50959) 6 years ago
inventory.remote.template
inventory.winrm.template Cleanup integration test inventory. (#50753) 6 years ago
network-integration.cfg Use stdout_callback yaml for network-integration tests (#56102) 6 years ago
target-prefixes.network Rename MSC modules to MSO nomenclature (#50959) 6 years ago
windows-integration.cfg Enable force_handlers for integration tests. 6 years ago