Merge branch 'master' into no-tags

This commit is contained in:
Matt Willsher 2017-10-19 20:44:00 +01:00 committed by GitHub
commit f2ba8183b8
2 changed files with 5 additions and 7 deletions

View file

@ -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: {}

View file

@ -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: