f5devcentral / ansible-role-f5_atc_deploy_declaration

Ansible role used to deploy declaratives to F5 Automated Tool Chain services: AS3, DO, and TS
Apache License 2.0
7 stars 11 forks source link

Missing "loginProviderName":"tmos" in authentication.yaml #8

Closed cdd2 closed 4 years ago

cdd2 commented 5 years ago
ISSUE TYPE
COMPONENT NAME

f5_atc_deploy_declaration

More specifically, 'tasks/authentication.yaml'

ANSIBLE VERSION
ansible 2.9.0
  config file = None
  configured module search path = ['/Users/s006000/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /Users/s006000/repos/ansible-role-f5/venv/lib/python3.7/site-packages/ansible
  executable location = /Users/s006000/repos/ansible-role-f5/venv/bin/ansible
  python version = 3.7.4 (default, Jul  9 2019, 18:13:23) [Clang 10.0.1 (clang-1001.0.46.4)]
PYTHON VERSION
Python 3.7.4
BIGIP VERSION
Sys::Version
Main Package
  Product     BIG-IP
  Version     12.1.2
  Build       2.0.276
  Edition     Hotfix HF2
  Date        Sat Nov 11 04:32:09 PST 2017
CONFIGURATION
OS / ENVIRONMENT

macOS Mojvae - 10.14.4

SUMMARY

The authentication token returned is not valid for AS3 declarations because it is the following line in the body section:

I believe this is necessary in most enterprise environments.

https://github.com/f5devcentral/ansible-role-f5_atc_deploy_declaration/blob/8e9b12aabc3ef72351083a1432a58e0256dcbf76/tasks/authentication.yaml#L3-L13

focrensh commented 4 years ago

Thank you, this has been resolved with c82425bad788d29206e070194bcf39a8ee8a64f4