f5-ansible icon indicating copy to clipboard operation
f5-ansible copied to clipboard

modify auto-lasthop with bigip_vlan

Open stianvi opened this issue 5 years ago • 1 comments

ISSUE TYPE

  • Feature Idea
COMPONENT NAME

bigip_vlan

ANSIBLE VERSION
ansible 2.10.3
  config file = None
  configured module search path = ['/Users/stianv/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.9/site-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 3.9.0 (default, Nov 14 2020, 10:50:03) [Clang 12.0.0 (clang-1200.0.32.27)]
PYTHON VERSION
Python 3.6.8
BIGIP VERSION
Sys::Version
Main Package
  Product     BIG-IP
  Version     14.1.2.8
  Build       0.100.7
  Edition     Engineering Hotfix
  Date        Wed Nov  4 01:57:29 PST 2020
CONFIGURATION

no changes to ansible.cfg

OS / ENVIRONMENT

RHEL8

SUMMARY

Please add the possibility to modify auto_lasthop on bigip_vlan.

Workaround with warning
  - name: modify auto-lasthop on vlan (default disable)
    bigip_command:
      chdir: "{{ partition | default('Common') }}"
      commands:
        - modify net vlan "{{ item.name }}" auto-lasthop {{ vlan_autolasthop | default('disabled') }}
      provider: "{{ credentials }}"

[WARNING]: Using "write" commands is not idempotent. You should use a module that is specifically made for that. If
such a module does not exist, then please file a bug. The command in question is "modify net vlan "bf-colo-lab-link"
auto-..."

stianvi avatar Nov 19 '20 08:11 stianvi

Tracking via INFRAANO-38

focrensh avatar Dec 08 '20 02:12 focrensh

Hi, we are closing this request now. Please re-open if required or send an email to [email protected]. Thanks!

KrithikaChidambaram avatar Feb 17 '23 08:02 KrithikaChidambaram