mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-21 18:40:19 +01:00
Add tags
This commit is contained in:
parent
1aecc38316
commit
3232f924a5
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue