Extracting the ssh public key using cat and storing the result in a
fact has resulted in periodic failures in the collection of the key,
and thereafter the failure to appropriately place that key into the
authorised_keys file.
This patch changes the collection method to use the Ansible slurp
module which has been found to be more reliable.
Closes-Bug: #1506291
Change-Id: I3ba5cdc944f38c67762860dc0d06bd5c35eeb269
(cherry picked from commit d954d599bdd888bb865b2674c2db2778571e9f43)
Reviewed: https:/ /review. openstack. org/312785 /git.openstack. org/cgit/ openstack/ openstack- ansible/ commit/ ?id=c3f411d37a8 e45c1d1da9a6b3a c1f63a5760c57a
Committed: https:/
Submitter: Jenkins
Branch: liberty
commit c3f411d37a8e45c 1d1da9a6b3ac1f6 3a5760c57a
Author: Jesse Pretorius <email address hidden>
Date: Wed Jan 13 11:16:00 2016 +0000
Use slurp to collect the swift ssh keys
Extracting the ssh public key using cat and storing the result in a
fact has resulted in periodic failures in the collection of the key,
and thereafter the failure to appropriately place that key into the
authorised_keys file.
This patch changes the collection method to use the Ansible slurp
module which has been found to be more reliable.
Closes-Bug: #1506291 67762860dc0d06b d5c35eeb269 b865b2674c2db27 78571e9f43)
Change-Id: I3ba5cdc944f38c
(cherry picked from commit d954d599bdd888b