mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-28 21:50:18 +01:00
Merge branch 'master' into no-tags
This commit is contained in:
commit
f2ba8183b8
2 changed files with 5 additions and 7 deletions
|
@ -5,7 +5,7 @@ sshd_skip_defaults: false
|
|||
# If the below is false, don't manage the service or reload the SSH
|
||||
# daemon at all
|
||||
sshd_manage_service: true
|
||||
# If the below is false, don't reload the ssh deamon on change
|
||||
# If the below is false, don't reload the ssh daemon on change
|
||||
sshd_allow_reload: true
|
||||
# Empty dicts to avoid errors
|
||||
sshd: {}
|
||||
|
|
|
@ -12,13 +12,11 @@
|
|||
assert:
|
||||
that: sshd_os_supported == True
|
||||
|
||||
- name: Installed
|
||||
action: >
|
||||
{{ ansible_pkg_mgr }}
|
||||
name="{{ item }}"
|
||||
state=installed
|
||||
- name: Install ssh packages
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
with_items: "{{ sshd_packages }}"
|
||||
when: ansible_pkg_mgr != 'unknown'
|
||||
|
||||
- name: Configuration
|
||||
template:
|
||||
|
|
Loading…
Reference in a new issue