initial commit
This commit is contained in:
commit
d375846d9d
4 changed files with 67 additions and 0 deletions
14
tasks/main.yml
Normal file
14
tasks/main.yml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
- name: copy sshd config
|
||||
template:
|
||||
src: ssh_sshd_config.j2
|
||||
dest: /etc/ssh/sshd_config
|
||||
owner: root
|
||||
mode: 0644
|
||||
notify:
|
||||
- restart sshd
|
||||
# - name: add ansible key
|
||||
# authorized_key:
|
||||
# user: root
|
||||
# key: "{{ lookup('file', 'ansible-key.pub') }}"
|
||||
# manage_dir: yes
|
||||
Loading…
Add table
Add a link
Reference in a new issue