mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-25 04:20: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
|
# If the below is false, don't manage the service or reload the SSH
|
||||||
# daemon at all
|
# daemon at all
|
||||||
sshd_manage_service: true
|
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
|
sshd_allow_reload: true
|
||||||
# Empty dicts to avoid errors
|
# Empty dicts to avoid errors
|
||||||
sshd: {}
|
sshd: {}
|
||||||
|
|
|
@ -12,13 +12,11 @@
|
||||||
assert:
|
assert:
|
||||||
that: sshd_os_supported == True
|
that: sshd_os_supported == True
|
||||||
|
|
||||||
- name: Installed
|
- name: Install ssh packages
|
||||||
action: >
|
package:
|
||||||
{{ ansible_pkg_mgr }}
|
name: "{{ item }}"
|
||||||
name="{{ item }}"
|
state: present
|
||||||
state=installed
|
|
||||||
with_items: "{{ sshd_packages }}"
|
with_items: "{{ sshd_packages }}"
|
||||||
when: ansible_pkg_mgr != 'unknown'
|
|
||||||
|
|
||||||
- name: Configuration
|
- name: Configuration
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Reference in a new issue