add hass service shutdown
This commit is contained in:
parent
8d61781d4e
commit
b6fae2724d
@ -111,6 +111,26 @@
|
||||
mode: 0770
|
||||
recurse: yes
|
||||
|
||||
- name: create .ssh folder
|
||||
file:
|
||||
state: directory
|
||||
dest: "{{hass_conf_folder}}/.ssh/"
|
||||
owner: hass
|
||||
group: hass
|
||||
mode: 0700
|
||||
recurse: yes
|
||||
become: yes
|
||||
|
||||
- name: create ssh key pair
|
||||
openssh_keypair:
|
||||
path: "{{hass_conf_folder}}/.ssh/id_rsa"
|
||||
owner: "{{hass_username}}"
|
||||
become: yes
|
||||
register: hass_SSH_creation
|
||||
|
||||
- name: print ssh public key
|
||||
debug:
|
||||
msg: "{{ hass_SSH_creation }}"
|
||||
|
||||
- name: copy failtoban config
|
||||
template:
|
||||
|
Loading…
Reference in New Issue
Block a user