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

centos improvement

This commit is contained in:
Lilian Roller 2019-06-19 16:15:41 +02:00
parent 5efa432da3
commit 2b2820bb6a
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B
3 changed files with 3 additions and 1 deletions

View file

@ -7,12 +7,14 @@
when: when:
- ansible_distribution != 'Fedora' - ansible_distribution != 'Fedora'
- ansible_distribution != 'Archlinux' - ansible_distribution != 'Archlinux'
- ansible_distribution != 'Centos'
- name: register os-specific variables - name: register os-specific variables
include_vars: "{{ ansible_distribution }}.yml" include_vars: "{{ ansible_distribution }}.yml"
when: when:
- ansible_distribution == 'Fedora' - ansible_distribution == 'Fedora'
- ansible_distribution == 'Archlinux' - ansible_distribution == 'Archlinux'
- ansible_distribution == 'Centos'
- name: Collect all users and groups allowed to login via ssh - name: Collect all users and groups allowed to login via ssh
set_fact: set_fact:

View file

@ -1,3 +1,3 @@
--- ---
playbook_version_number: 116 playbook_version_number: 118
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'