Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBM cloud security group can't have more than 50 rules #26

Open
jainnikhil30 opened this issue Oct 26, 2021 · 1 comment
Open

IBM cloud security group can't have more than 50 rules #26

jainnikhil30 opened this issue Oct 26, 2021 · 1 comment

Comments

@jainnikhil30
Copy link
Collaborator

IBM cloud security group cant have more than 50 rules and unfortunately is_security_group module in IBM Ansible collection is not idempotent. So if we run the jenkins job multiple times on the same cluster, we end up hitting more than 50 rules issues. We should first try to delete the rules and then add them back in each run. That way we never go > 50.

@kdelee
Copy link
Contributor

kdelee commented Oct 26, 2021

filed upstream bug IBM-Cloud/ansible-collection-ibm#76

kdelee added a commit that referenced this issue Oct 26, 2021
kdelee added a commit that referenced this issue Oct 27, 2021
#26

skip if SG exists and has right number of rules

Working around more problems w/ the ibmcloud ansible collection

get rules from vpc.security_group var
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants