尝试Ansible tower_role模块,我似乎无法克服此错误:
Tower服务器声称它发送了一个错误的请求。\ n \ nGET https://myansibletowerserver/api/v2/projects/123/object_roles/ \ n参数: {'role_field':'admin_role','tower_verify_ssl':True} \ n数据: 无\ n \ n响应:{\“ detail \”:\“角色没有名为 'tower_verify_ssl'
示例用法/场景正在使用角色模块将权限应用于项目:
- name: Update team to be admin for named project
tower_role:
project: "{{ short_appname }}-playbook"
team: "CORP DEVELOPER"
role: admin
state: present
tower_config_file: "{{ tower_config }}"
Ansible 2.7.1
tower-cli 3.3.0
目标Ansible Tower服务器:3.2.3
TIA!