Hum.
This commit is contained in:
parent
e9c7518fc4
commit
4d8b4349f8
1 changed files with 1 additions and 4 deletions
|
@ -429,13 +429,10 @@
|
|||
tags:
|
||||
- config
|
||||
|
||||
- name: debug some variables
|
||||
debug: msg="sshd_config debug {{ inventory_hostname }} files {{ files }} distro {{ ansible_distribution }}"
|
||||
|
||||
- name: template sshd_config
|
||||
action: copy src={{ item }} dest=/etc/ssh/sshd_config mode=0600 owner=root group=root
|
||||
first_available_file:
|
||||
- "{{ files }}/jenkins/sshd_config_slave.{{ ansible_distribution }}"
|
||||
- /srv/web/infra/ansible/files/jenkins/sshd_config_slave.{{ ansible_distribution }}
|
||||
- "{{ files }}/jenkins/sshd_config_slave"
|
||||
notify:
|
||||
- restart sshd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue