This commit is contained in:
Matt Willsher 2014-12-25 20:02:44 +00:00
parent 1aecc38316
commit 3232f924a5

View file

@ -6,6 +6,8 @@
- "{{ ansible_distribution }}.yml"
- "{{ ansible_os_family }}.yml"
- default.yml
tags:
- sshd
- name: Installed
action: >
@ -13,6 +15,8 @@
name="{{ item }}"
state=installed
with_items: sshd_packages
tags:
- sshd
- name: Configured
template:
@ -22,10 +26,13 @@
group: "{{ sshd_config_group }}"
mode: "{{ sshd_config_mode }}"
notify: check and reload sshd
tags:
- sshd
- name: Service enabled and running
service:
name: "{{ sshd_service }}"
enabled: true
state: running
tags:
- sshd