ansible-collections-openstack/plugins/modules
Jakob Meng 8dfcd17731 Do not remove trailing spaces when reading public key in keypair module
Previously, openstack.cloud.keypair would remove trailing spaces after
reading a public key from a file. The openstack cli tool, python-\
openstackclient, does not do so, i.e. it does not use rstrip to remove
spaces at the end [1]. This breaks idempotency when using openstack
cli tool and our keypair module at the same time.

The rstrip code was introduced to keypair when our modules were still
part of ansible (non-core) in a completely unrelated change [2].

Now, keypair module does no longer alter the public key and instead
uploads it unchanged to OpenStack API.

[1] 7df94c9f82/openstackclient/compute/v2/keypair.py (L103)
[2] 341efbf7ae

Story: 2008574
Task: 41726
Change-Id: Ia09658467d98516ca1ea612e7301629b2f69d2d1
(cherry picked from commit 73827a3d57)
2022-09-07 14:04:48 +00:00
..
__init__.py Migrate openstack modules as a collection 2020-01-17 14:07:24 +00:00
address_scope.py Fix ansible-lint issues for newest version 2022-03-29 18:51:01 +00:00
auth.py Switch auth module to OpenStackModule 2021-05-21 07:47:42 +00:00
baremetal_inspect.py Refactor ironic authentication into a new module_utils module 2020-10-26 11:05:31 +00:00
baremetal_node.py Run ansible devel sanity tests on py38 2021-08-03 01:32:31 +03:00
baremetal_node_action.py Refactor ironic authentication into a new module_utils module 2020-10-26 11:05:31 +00:00
baremetal_node_info.py Add openstack.cloud.baremetal_node_info 2022-02-03 20:23:13 +01:00
baremetal_port.py Add openstack.cloud.baremetal_port module 2022-02-09 23:41:19 +01:00
baremetal_port_info.py Add openstack.cloud.baremetal_port_info module 2022-02-09 14:23:01 +01:00
catalog_service.py Backport improvements to catalog_service 2022-07-07 11:35:40 +00:00
coe_cluster.py Switch coe_cluster module to OpenStackModule 2021-05-21 07:46:15 +00:00
coe_cluster_template.py Switch coe_cluster_template module to OpenStackModule 2021-05-21 07:44:43 +00:00
compute_flavor.py Flavor properties are not deleted on changes and id will stay 2021-10-07 05:14:58 +00:00
compute_flavor_info.py Changed compute_flavor_info module to use OpenStack SDK's proxy layer 2022-04-05 13:46:15 +02:00
compute_service_info.py Fixed return value disable{d,s}_reason in compute_service_info module 2022-05-02 12:30:33 +00:00
config.py Update author lines 2020-06-23 21:50:43 +03:00
container.py Container module for management Swift containers 2021-04-08 18:46:53 +03:00
dns_zone.py Enable update for recordset and add tests for dns and recordset module 2020-12-29 11:34:27 +00:00
dns_zone_info.py Move dns zone info to use proxy layer 2022-04-26 15:07:46 +02:00
endpoint.py Backport improvements to endpoint module 2022-07-12 10:33:50 +02:00
federation_idp.py Switch federation_idp module to OpenStackModule 2021-05-21 14:14:16 +02:00
federation_idp_info.py Switch federation_idp_info module to OpenStackModule 2021-05-21 07:42:41 +00:00
federation_mapping.py Switch federation_mapping module to OpenStackModule 2021-05-21 07:42:30 +00:00
federation_mapping_info.py Switch federation_mapping_info module to OpenStackModule 2021-05-21 07:40:56 +00:00
floating_ip.py Allow to attach multiple floating ips to a server 2021-08-06 15:02:20 +02:00
floating_ip_info.py Dropped deprecated return values in floating_ip_info and assert remaining fields 2022-04-06 07:58:46 +00:00
group_assignment.py Switch group_assignment module to OpenStackModule 2021-05-21 12:13:15 +00:00
host_aggregate.py Backport enhancements to host_aggregate module 2022-06-02 12:45:01 +02:00
identity_domain.py Move identity domain to use proxy layer 2022-02-02 19:35:37 +02:00
identity_domain_info.py Backported changes to identity_domain_info from master branch 2022-05-09 13:25:27 +02:00
identity_group.py Switch identity_group module to OpenStackModule 2021-05-21 14:05:25 +02:00
identity_group_info.py Backported changes to identity_group_info from master branch 2022-05-11 10:43:20 +02:00
identity_role.py Sychronize updates to identity_role from master branch 2022-05-04 09:21:32 +02:00
identity_role_info.py Backported changes to identity_role_info from master branch 2022-05-09 17:05:18 +02:00
identity_user.py Backported changes to identity_user from master branch 2022-05-06 14:28:34 +02:00
identity_user_info.py Backported changes to identity_user_info from master branch 2022-05-05 13:14:09 +02:00
image.py Set owner in image module 2022-05-10 13:47:33 +02:00
image_info.py Backported changes to image_info from master branch 2022-05-10 10:00:48 +02:00
keypair.py Do not remove trailing spaces when reading public key in keypair module 2022-09-07 14:04:48 +00:00
keypair_info.py Backport improvements to keypair_info 2022-07-06 15:19:50 +02:00
keystone_federation_protocol.py Switch federation_protocol module to OpenStackModule 2021-05-21 14:12:08 +02:00
keystone_federation_protocol_info.py Switch KeystoneFederationProtocolInfo module to OpenStackModule 2021-05-21 14:07:25 +02:00
lb_health_monitor.py Fix ansible-lint issues for newest version 2022-03-29 18:51:01 +00:00
lb_listener.py Add client and member listener timeouts for persistence (Ex. SSH) 2021-10-01 09:17:55 +00:00
lb_member.py [LB] Add support for setting monitor_address 2022-03-09 14:06:29 +00:00
lb_pool.py Switch lb_pool module to OpenStackModule 2021-05-21 07:32:00 +00:00
loadbalancer.py Wait for pool to be active and online 2021-07-19 13:05:33 +02:00
network.py Migrating network from AnsibleModule to OpenStackModule 2020-12-15 15:39:22 +01:00
networks_info.py Add support check mode for all info modules 2021-08-16 15:56:27 +03:00
neutron_rbac_policies_info.py Add Neutron RBAC modules 2022-01-11 11:59:58 -05:00
neutron_rbac_policy.py Add Neutron RBAC modules 2022-01-11 11:59:58 -05:00
object.py Switch object module to OpenStackModule 2021-05-21 07:30:55 +00:00
object_container.py Container module for management Swift containers 2021-04-08 18:46:53 +03:00
os_auth.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_client_config.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_coe_cluster.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_coe_cluster_template.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_flavor_info.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_floating_ip.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_group.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_group_info.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_image.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_image_info.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_ironic.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_ironic_inspect.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_ironic_node.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_keypair.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_keystone_domain.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_keystone_domain_info.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_keystone_endpoint.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_keystone_federation_protocol.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_keystone_federation_protocol_info.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_keystone_identity_provider.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_keystone_identity_provider_info.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_keystone_mapping.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_keystone_mapping_info.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_keystone_role.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_keystone_service.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_listener.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_loadbalancer.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_member.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_network.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_networks_info.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_nova_flavor.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_nova_host_aggregate.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_object.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_pool.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_port.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_port_info.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_project.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_project_access.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_project_info.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_quota.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_recordset.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_router.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_routers_info.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_security_group.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_security_group_rule.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_server.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_server_action.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_server_group.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_server_info.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_server_metadata.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_server_volume.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_stack.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_subnet.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_subnets_info.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_user.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_user_group.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_user_info.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_user_role.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_volume.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_volume_snapshot.py Rename all of the modules 2020-05-12 10:20:50 -05:00
os_zone.py Rename all of the modules 2020-05-12 10:20:50 -05:00
port.py Add dns_[name,domain] to the port module 2022-01-25 22:51:38 +00:00
port_info.py Add support check mode for all info modules 2021-08-16 15:56:27 +03:00
project.py Switch project and project_info module to OpenStackModule 2021-05-11 09:11:50 +00:00
project_access.py Switch ProjectAccess module to OpenStackModule 2021-06-17 13:28:10 +03:00
project_info.py Switch project and project_info module to OpenStackModule 2021-05-11 09:11:50 +00:00
quota.py Fix os_quota docs 2022-02-16 14:48:52 +02:00
recordset.py Backport improvements to recordset module 2022-06-16 13:41:44 -07:00
role_assignment.py Backport improvements to role_assignment 2022-07-07 06:43:33 +00:00
router.py Router: Remove unneeded 'filter' parameter 2022-03-14 08:31:31 +00:00
routers_info.py Fix logic in routers_info 2022-04-12 18:47:13 +00:00
security_group.py Migrating security_group from AnsibleModule to OpenStackModule 2020-12-15 06:49:59 +00:00
security_group_info.py Add support check mode for all info modules 2021-08-16 15:56:27 +03:00
security_group_rule.py Support description in sg-rule creation 2022-04-26 11:50:23 +02:00
security_group_rule_info.py Add support check mode for all info modules 2021-08-16 15:56:27 +03:00
server.py Allow description field to be set with os_server 2021-02-15 14:30:59 -05:00
server_action.py Add 'all_projects' to server_action module 2022-03-31 12:18:09 +00:00
server_group.py Switch ServerGroup module to OpenStackModule 2021-05-21 13:57:38 +02:00
server_info.py Add support check mode for all info modules 2021-08-16 15:56:27 +03:00
server_metadata.py Switch ServerMetadata module to OpenStackModule 2021-05-21 13:56:43 +02:00
server_volume.py server_volume: check specified server is found 2021-11-11 11:11:45 +01:00
stack.py Switch Stack module to OpenStackModule 2021-05-25 10:37:19 +02:00
stack_info.py Add support check mode for all info modules 2021-08-16 15:56:27 +03:00
subnet.py Fix ansible-lint issues for newest version 2022-03-29 18:51:01 +00:00
subnet_pool.py Add subnet pool module 2022-03-31 20:05:11 +00:00
subnets_info.py Add support check mode for all info modules 2021-08-16 15:56:27 +03:00
volume.py Fail if referenced source image for a new volume does not exist 2021-05-26 18:21:08 +02:00
volume_backup.py Fix branchful jobs for collections 2020-12-14 17:44:41 +02:00
volume_backup_info.py Add support check mode for all info modules 2021-08-16 15:56:27 +03:00
volume_info.py Add support check mode for all info modules 2021-08-16 15:56:27 +03:00
volume_snapshot.py Switch Snapshot module to OpenStackModule 2021-05-21 13:47:50 +02:00
volume_snapshot_info.py Add support check mode for all info modules 2021-08-16 15:56:27 +03:00