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: versions:
- 28 - 28
- 29 - 29
- 30
galaxy_tags: galaxy_tags:
- ssh - ssh
- sshd - sshd
- secure shell - authorisation
- ssh config
dependencies: [] dependencies: []

View file

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

View file

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

View file

@ -1,4 +1,2 @@
--- ---
ssh_service: sshd 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' playbook_version_path: '/etc/ansible-version/role-sshd_chaos-bodensee_github.com.version'