When using "members_add_only: True" in a playbook to add some zones to a existing cfg and enabling it, the ansible-playbook -vvv output still show all previously configured zones in it's remove_list.
For examplle:
...
"post_list": [
{
"members": [
"Zone1"
],
"name": "FAB-A"
}
],
"remove_list": [
{
"members": [
"SVR12_STOR12"
],
"name": "FAB-A"
}
..
So the bahavior is changin with the members_add_only parameter, as nothing existing in the zoning configuration will be deleted, working as expected, but the output does not change when using members_add_only:True
Playbook:
- name: after zoning_zone.yml, add Zone3 to cfg1 by specifying all members and leave it enabled
brocade_zoning_cfg:
credential: "{{credential}}"
vfid: -1
cfgs: "{{cfgs}}"
members_add_only: True
active_cfg: FAB-A
When using "members_add_only: True" in a playbook to add some zones to a existing cfg and enabling it, the ansible-playbook -vvv output still show all previously configured zones in it's remove_list.
For examplle:
...
"post_list": [
{
"members": [
"Zone1"
],
"name": "FAB-A"
}
],
"remove_list": [
{
"members": [
"SVR12_STOR12"
],
"name": "FAB-A"
}
..
So the bahavior is changin with the members_add_only parameter, as nothing existing in the zoning configuration will be deleted, working as expected, but the output does not change when using members_add_only:True
Playbook:
brocade_zoning_cfg:
credential: "{{credential}}"
vfid: -1
cfgs: "{{cfgs}}"
members_add_only: True
active_cfg: FAB-A