Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Deny or disable existing firewall rule not working #183

Open
rkadirbaks opened this issue Jun 17, 2021 · 0 comments
Open

Deny or disable existing firewall rule not working #183

rkadirbaks opened this issue Jun 17, 2021 · 0 comments

Comments

@rkadirbaks
Copy link

Hi,

Updating an existing firewall rule in disable/deny the rule, doesn't work.
The firewall rule remains enabled/allowed.

This is how the service_params section in my playbook looks like;

.....
    service: firewall
    service_params:
      - name: test_1
        enabled: False (also tried action: deny)
    state: update
  register: output
.....

Ansible output says it made the changes, but the fw rule remains enabled/allowed in vcloud director.
{
"msg": {
"changed": true,
"msg": "Firewall rule(s) ['test_1'] have been updated",
"failed": false
},

I will appreciate it, if you could please help me with this.

Cheers

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant