1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_sshd.git synced 2024-08-16 11:59:49 +02:00

improve layout for galaxy

This commit is contained in:
Lilian Roller 2019-05-15 13:31:20 +02:00
parent 33407283f0
commit 4680babafc
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B
5 changed files with 7 additions and 13 deletions

View file

@ -20,10 +20,8 @@ galaxy_info:
versions:
- 28
- 29
- 30
galaxy_tags:
- ssh
- sshd
- secure shell
- ssh config
- authorisation
dependencies: []

View file

@ -75,7 +75,8 @@
- restart ssh
when: generate_ecdsa_too == false
- file:
- name: make sure the correct keys are available
file:
path: '/etc/ssh/ssh_host_{{ item }}_key.pub'
state: absent
become: yes
@ -85,9 +86,10 @@
- dsa
notify:
- restart ssh
when: generate_ecdsa_too == false
when: not generate_ecdsa_too
- file:
- name: make sure the correct keys are available except ecdsa
file:
path: '/etc/ssh/ssh_host_{{ item }}_key.pub'
state: absent
become: yes

View file

@ -1,4 +1,2 @@
---
ssh_service: sshd

View file

@ -1,4 +1,2 @@
---
ssh_service: sshd

View file

@ -1,5 +1,3 @@
---
playbook_version_number: 100
playbook_version_number: 101
playbook_version_path: '/etc/ansible-version/role-sshd_chaos-bodensee_github.com.version'