mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-05 03:13:30 +01:00
Naming tidy up
This commit is contained in:
parent
dc5932c26c
commit
7ef39b761f
2 changed files with 7 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue