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" command: "{{ sshd_binary }} -t"
notify: reload sshd notify: reload_sshd
- name: reload sshd - name: reload_sshd
service: service:
name: "{{ sshd_service }}" name: "{{ sshd_service }}"
state: reloaded state: reloaded

View file

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