Naming tidy up

This commit is contained in:
Matt Willsher 2015-01-13 13:26:52 +00:00
parent dc5932c26c
commit 7ef39b761f
2 changed files with 7 additions and 6 deletions

View file

@ -1,9 +1,9 @@
---
- name: check and reload sshd
- name: check_and_reload_sshd
command: "{{ sshd_binary }} -t"
notify: reload sshd
notify: reload_sshd
- name: reload sshd
- name: reload_sshd
service:
name: "{{ sshd_service }}"
state: reloaded

View file

@ -1,5 +1,5 @@
---
- name: Role set up
- name: Set OS dependent variables
include_vars: "{{ item }}"
with_first_found:
- "{{ ansible_distribution }}_{{ ansible_distribution_major_version }}.yml"
@ -19,14 +19,14 @@
tags:
- sshd
- name: Configured
- name: Configuration
template:
src: sshd_config.j2
dest: "{{ sshd_config_file }}"
owner: "{{ sshd_config_owner }}"
group: "{{ sshd_config_group }}"
mode: "{{ sshd_config_mode }}"
notify: check and reload sshd
notify: check_and_reload_sshd
tags:
- sshd
@ -37,3 +37,4 @@
state: running
tags:
- sshd