On some deploys we see /etc/ssh/sshd_config missing a trailing newline,
which breaks the sshd_config file when the lineinfile tasks are run.
This has been traced back to the version of ansible being deployed in
juno as we do not have this issue in later branches using newer
versions of ansible.
Alternatively, we could upgrade ansible in juno but I would prefer to
make the smallest change possible since juno is now widely deployed.
Reviewed: https:/ /review. openstack. org/176758 /git.openstack. org/cgit/ stackforge/ os-ansible- deployment/ commit/ ?id=390763b587c 2908f6f5727f7c4 c3df048bbac3d0
Committed: https:/
Submitter: Jenkins
Branch: juno
commit 390763b587c2908 f6f5727f7c4c3df 048bbac3d0
Author: Matt Thompson <email address hidden>
Date: Thu Apr 23 15:14:34 2015 +0100
Add newline to /etc/ssh/ sshd_config if necessary
On some deploys we see /etc/ssh/ sshd_config missing a trailing newline,
which breaks the sshd_config file when the lineinfile tasks are run.
This has been traced back to the version of ansible being deployed in
juno as we do not have this issue in later branches using newer
versions of ansible.
Alternatively, we could upgrade ansible in juno but I would prefer to
make the smallest change possible since juno is now widely deployed.
Closes-Bug: #1442239
Change-Id: If0f66753f40b37 8f6f2c8d256e1eb 5b4d59fd64e