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

Rename var

This commit is contained in:
Lilian Roller 2019-11-14 11:23:05 +01:00
parent b22c0597aa
commit ebb774b467
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B
3 changed files with 6 additions and 8 deletions

View file

@ -27,7 +27,7 @@ use_diffie_hellman_group_exchange_sha256: false
use_aes256_ctr: false use_aes256_ctr: false
use_hmac_sha2_512: false use_hmac_sha2_512: false
generate_modern_ssh_keys: true do_not_delete_legacy_ssh_keys: true
# version check for this role? # version check for this role?
submodules_versioncheck: true submodules_versioncheck: true

View file

@ -43,7 +43,6 @@
- restart ssh - restart ssh
when: when:
- generate_ecdsa_too | bool - generate_ecdsa_too | bool
- generate_modern_ssh_keys | bool
- name: Generate new ed25519 ssh host key pair if necessary - name: Generate new ed25519 ssh host key pair if necessary
become: yes become: yes
@ -55,7 +54,6 @@
- restart ssh - restart ssh
when: when:
- ansible_distribution_release != 'wheezy' - ansible_distribution_release != 'wheezy'
- generate_modern_ssh_keys | bool
- name: Remove unwanted host keys - name: Remove unwanted host keys
become: yes become: yes
@ -70,7 +68,7 @@
when: when:
- generate_ecdsa_too | bool - generate_ecdsa_too | bool
- ansible_distribution_release != 'wheezy' - ansible_distribution_release != 'wheezy'
- generate_modern_ssh_keys | bool - do_not_delete_legacy_ssh_keys | bool
- name: Remove unwanted host keys - name: Remove unwanted host keys
become: yes become: yes
@ -86,7 +84,7 @@
when: when:
- not generate_ecdsa_too | bool - not generate_ecdsa_too | bool
- ansible_distribution_release != 'wheezy' - ansible_distribution_release != 'wheezy'
- generate_modern_ssh_keys | bool - do_not_delete_legacy_ssh_keys | bool
- name: make sure the correct keys are available - name: make sure the correct keys are available
file: file:
@ -102,7 +100,7 @@
when: when:
- not generate_ecdsa_too | bool - not generate_ecdsa_too | bool
- ansible_distribution_release != 'wheezy' - ansible_distribution_release != 'wheezy'
- generate_modern_ssh_keys | bool - do_not_delete_legacy_ssh_keys | bool
- name: make sure the correct keys are available except ecdsa - name: make sure the correct keys are available except ecdsa
file: file:
@ -117,4 +115,4 @@
when: when:
- generate_ecdsa_too | bool - generate_ecdsa_too | bool
- ansible_distribution_release != 'wheezy' - ansible_distribution_release != 'wheezy'
- generate_modern_ssh_keys | bool - do_not_delete_legacy_ssh_keys | bool

View file

@ -1,3 +1,3 @@
--- ---
playbook_version_number: 2051 # should be over ninethousand playbook_version_number: 2052 # should be over ninethousand
playbook_version_path: 'role-sshd_chaos-bodensee_github.com.version' playbook_version_path: 'role-sshd_chaos-bodensee_github.com.version'