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

infra: remove target from ovirt_storage_connection #252

Merged
merged 1 commit into from
Apr 23, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions roles/infra/roles/storages/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
- storages
- storage_connections

- name: Validate connections of storages
- name: Update storage pamareters
Copy link
Member

Choose a reason for hiding this comment

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

pamareters --> parameters
:)

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed in: #282

ovirt_storage_connection:
auth: "{{ ovirt_auth }}"
id: "{{ ansible_version.full is version('2.6.0', '>=') | ternary(item.1.id, item.1.id[0]) }}"
Expand All @@ -91,7 +91,6 @@
username: "{{ storages[item.0.name][item.0.storage.type].username | default(omit) }}"
password: "{{ storages[item.0.name][item.0.storage.type].password | default(omit) }}"
port: "{{ storages[item.0.name][item.0.storage.type].port | default(omit) }}"
target: "{{ storages[item.0.name][item.0.storage.type].target | default(omit) }}"
force: true
with_subelements:
- "{{ sd_info.ovirt_storage_domains | default([]) }}"
Expand Down