You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using aviconfig role as part of the collection "vmware.alb.aviconfig"
The tasks "Build Avi module includes" always shows skipped, regardless of how you pass the data.
It does however show up in the task "Setting Avi role config to parameter avi_config"
TASK [vmware.alb.aviconfig : Avi Config | Setting Avi role config to parameter avi_config] **********************
task path: /home/ubuntu/.ansible/collections/ansible_collections/vmware/alb/roles/aviconfig/tasks/main.yml:29
ok: [localhost] => {
"ansible_facts": {
"avi_role_cfg": {
"pool": [
{
"health_monitor_refs": [
"/api/healthmonitor?name=System-HTTP"
],
"name": "test"
}
]
}
},
"changed": false
}
Reproduction steps
See above.
name: Examples of using Ansible with Avi
hosts: localhost
gather_facts: false
Describe the bug
When using aviconfig role as part of the collection "vmware.alb.aviconfig"
The tasks "Build Avi module includes" always shows skipped, regardless of how you pass the data.
TASK [vmware.alb.aviconfig : Build Avi module includes] *********************************************************
task path: /home/ubuntu/.ansible/collections/ansible_collections/vmware/alb/roles/aviconfig/tasks/main.yml:102
skipping: [localhost] => (item=labelgroup - systemlimits - licenseledgerdetails - useraccountprofile - controllerproperties - cloudproperties - licensestatus - seproperties - tenant - webapput - cloudconnectoruser - hardwaresecuritymodulegroup - alertscriptconfig - customipamdnsprofile - networkprofile - stringgroup - ipaddrgroup - pkiprofile - sslprofile - applicationpersistenceprofile - alertemailconfig - snmptrapprofile - autoscalelaunchconfig - fileobject - securitypolicy - protocolparser - jwtserverprofile - wafapplicationsignatureprovider - errorpagebody - testsedatastorelevel3 - botipreputationtypemapping - botconfigconsolidator - tenantsystemconfiguration - federationcheckpoint - gslbgeodbprofile - albservicesconfig - siteversion - statediffoperation - image - controllerportalregistration - dynamicdnsrecord - role - controllersite - inventoryfaultconfig - albservicesfileupload - webhook - securitymanagerdata - cluster - vsgs - poolgroupdeploymentpolicy - memorybalancerrequest - albservicesjob - backupconfiguration - clusterclouddetails - certificatemanagementprofile - ipamdnsproviderprofile - analyticsprofile - wafpolicypsmgroup - wafprofile - botmapping - natpolicy - applicationprofile - microservicegroup - ipreputationdb - geodb - errorpageprofile - testsedatastorelevel2 - gslb - statediffsnapshot - upgradestatusinfo - upgradestatussummary - authmappingprofile - scheduler - sslkeyandcertificate - networksecuritypolicy - wafpolicy - botdetectionpolicy - testsedatastorelevel1 - backup - cloud - healthmonitor - alertsyslogconfig - vrfcontext - vcenterserver - prioritylabels - nsxtsegmentruntime - gslbservice - actiongroupconfig - availabilityzone - alertconfig - serverautoscalepolicy - network - serviceenginegroup - serviceenginegroup_advanced - pool - trafficcloneprofile - vsvip - serviceengine - networkservice - poolgroup - pingaccessagent - httppolicyset - dnspolicy - vsdatascriptset - l4policyset - icapprofile - authprofile - ssopolicy - systemconfiguration - virtualservice) => {
"ansible_loop_var": "outer_item",
"changed": false,
"false_condition": "avi_role_cfg[outer_item] is defined",
"outer_item": "labelgroup - systemlimits - licenseledgerdetails - useraccountprofile - controllerproperties - cloudproperties - licensestatus - seproperties - tenant - webapput - cloudconnectoruser - hardwaresecuritymodulegroup - alertscriptconfig - customipamdnsprofile - networkprofile - stringgroup - ipaddrgroup - pkiprofile - sslprofile - applicationpersistenceprofile - alertemailconfig - snmptrapprofile - autoscalelaunchconfig - fileobject - securitypolicy - protocolparser - jwtserverprofile - wafapplicationsignatureprovider - errorpagebody - testsedatastorelevel3 - botipreputationtypemapping - botconfigconsolidator - tenantsystemconfiguration - federationcheckpoint - gslbgeodbprofile - albservicesconfig - siteversion - statediffoperation - image - controllerportalregistration - dynamicdnsrecord - role - controllersite - inventoryfaultconfig - albservicesfileupload - webhook - securitymanagerdata - cluster - vsgs - poolgroupdeploymentpolicy - memorybalancerrequest - albservicesjob - backupconfiguration - clusterclouddetails - certificatemanagementprofile - ipamdnsproviderprofile - analyticsprofile - wafpolicypsmgroup - wafprofile - botmapping - natpolicy - applicationprofile - microservicegroup - ipreputationdb - geodb - errorpageprofile - testsedatastorelevel2 - gslb - statediffsnapshot - upgradestatusinfo - upgradestatussummary - authmappingprofile - scheduler - sslkeyandcertificate - networksecuritypolicy - wafpolicy - botdetectionpolicy - testsedatastorelevel1 - backup - cloud - healthmonitor - alertsyslogconfig - vrfcontext - vcenterserver - prioritylabels - nsxtsegmentruntime - gslbservice - actiongroupconfig - availabilityzone - alertconfig - serverautoscalepolicy - network - serviceenginegroup - serviceenginegroup_advanced - pool - trafficcloneprofile - vsvip - serviceengine - networkservice - poolgroup - pingaccessagent - httppolicyset - dnspolicy - vsdatascriptset - l4policyset - icapprofile - authprofile - ssopolicy - systemconfiguration - virtualservice",
"skip_reason": "Conditional result was False"
}
skipping: [localhost] => {
"changed": false,
"msg": "All items skipped"
}
It does however show up in the task "Setting Avi role config to parameter avi_config"
TASK [vmware.alb.aviconfig : Avi Config | Setting Avi role config to parameter avi_config] **********************
task path: /home/ubuntu/.ansible/collections/ansible_collections/vmware/alb/roles/aviconfig/tasks/main.yml:29
ok: [localhost] => {
"ansible_facts": {
"avi_role_cfg": {
"pool": [
{
"health_monitor_refs": [
"/api/healthmonitor?name=System-HTTP"
],
"name": "test"
}
]
}
},
"changed": false
}
Reproduction steps
See above.
name: Examples of using Ansible with Avi
hosts: localhost
gather_facts: false
collections:
tasks:
import_role:
name: vmware.alb.aviconfig
vars:
avi_config:
pool:
- name: "test"
health_monitor_refs:
- '/api/healthmonitor?name=System-HTTP'
Expected behavior
it would create a pool
Additional context
No response
The text was updated successfully, but these errors were encountered: