initial commit

This commit is contained in:
nd 2017-10-16 02:26:16 +02:00
commit d375846d9d
4 changed files with 67 additions and 0 deletions

14
tasks/main.yml Normal file
View 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