1ceb21c0e2
Not sure why it's working in CI or in the general case, but I've seen this task fail with "Destination /etc/ssh not writable" from time to time. This commit ensures it's always run with super user privilege so it can write it /etc/ssh directory. Change-Id: Ia753b5e842c20c21714111c6267ef70d53d9de4a
10 lines
175 B
YAML
10 lines
175 B
YAML
---
|
|
|
|
- name: Template /etc/ssh/ssh_known_hosts
|
|
become: true
|
|
template:
|
|
src: ssh_known_hosts.j2
|
|
dest: /etc/ssh/ssh_known_hosts
|
|
tags:
|
|
- tripleo_ssh_known_hosts
|