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

one_service: fix recreation #8887

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

abakanovskii
Copy link
Contributor

SUMMARY

After some investigation i concluded that the problem described in the related issue can be fixed by changing one if-statement

Fixes #3137

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

one_service

ADDITIONAL INFORMATION

I also deleted a space between a function and a body because in all other functions there is no

# Now this should work as intented
- name: Instantiating OpenNebula service
  ansible.community.one_service:
    template_id: "{{ one_template_id }}"
    service_name: "{{ deployment_name }}"
    unique: true
    wait: true

@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added bug This issue/PR relates to a bug module module plugins plugin (any type) labels Sep 20, 2024
@felixfontein felixfontein added check-before-release PR will be looked at again shortly before release and merged if possible. backport-8 Automatically create a backport for the stable-8 branch backport-9 Automatically create a backport for the stable-9 branch labels Sep 20, 2024
Copy link
Collaborator

@felixfontein felixfontein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution!

changelogs/fragments/8887-fix-one_service-unique.yml Outdated Show resolved Hide resolved
@abakanovskii abakanovskii changed the title One service fix one_service: fix recreation Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-8 Automatically create a backport for the stable-8 branch backport-9 Automatically create a backport for the stable-9 branch bug This issue/PR relates to a bug check-before-release PR will be looked at again shortly before release and merged if possible. has_issue module module plugins plugin (any type)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OpenNebula one_service fails to create a service with unique name
3 participants