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:
parent
5efa432da3
commit
2b2820bb6a
3 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||||
|
|
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue