mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-04 07:20:37 +08:00
put insecure there for a while
I am getting SSL3_GET_SERVER_CERTIFICATE:certificate verify failed from playbook, but not from command line, weird
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
|
||||
# instance can be both id and name, volume must be id
|
||||
# volume must be id
|
||||
- shell: nova --os-auth-url="{{os_auth_url}}" --os-username="admin" --os-password="{{ADMIN_PASS}}" --os-tenant-name={{inventory_tenant}} volume-list | grep ' {{item.volume_id}} ' | grep 'available' && nova --os-auth-url="{{os_auth_url}}" --os-username="admin" --os-password="{{ADMIN_PASS}}" --os-tenant-name={{inventory_tenant}} volume-attach "{{inventory_instance_name}}" "{{item.volume_id}}" "{{item.device}}"
|
||||
- shell: nova --insecure --os-auth-url="{{os_auth_url}}" --os-username="admin" --os-password="{{ADMIN_PASS}}" --os-tenant-name={{inventory_tenant}} volume-list | grep ' {{item.volume_id}} ' | grep 'available' && nova --insecure --os-auth-url="{{os_auth_url}}" --os-username="admin" --os-password="{{ADMIN_PASS}}" --os-tenant-name={{inventory_tenant}} volume-attach "{{inventory_instance_name}}" "{{item.volume_id}}" "{{item.device}}"
|
||||
with_items: volumes
|
||||
when: volumes is defined
|
||||
|
||||
|
||||
Reference in New Issue
Block a user