mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-22 02:50:18 +01:00
Add names to all tasks (ansible-lint E502)
This commit is contained in:
parent
7f6344b508
commit
43d65fb63a
2 changed files with 22 additions and 11 deletions
|
@ -23,15 +23,18 @@
|
|||
|
||||
- name: Install systemd service files
|
||||
block:
|
||||
- template:
|
||||
- name: Install service unit file
|
||||
template:
|
||||
src: "{{ sshd_service_template_service }}"
|
||||
dest: "/etc/systemd/system/{{ sshd_service }}.service"
|
||||
notify: reload_sshd
|
||||
- template:
|
||||
- name: Install instanced service unit file
|
||||
template:
|
||||
src: "{{ sshd_service_template_at_service }}"
|
||||
dest: "/etc/systemd/system/{{ sshd_service }}@.service"
|
||||
notify: reload_sshd
|
||||
- template:
|
||||
- name: Install socket unit file
|
||||
template:
|
||||
src: "{{ sshd_service_template_socket }}"
|
||||
dest: "/etc/systemd/system/{{ sshd_service }}.socket"
|
||||
notify: reload_sshd
|
||||
|
|
|
@ -23,27 +23,35 @@
|
|||
|
||||
- name: Override OS defaults
|
||||
block:
|
||||
- set_fact:
|
||||
- name: Define sshd_packages
|
||||
set_fact:
|
||||
sshd_packages: "{{ __sshd_packages }}"
|
||||
when: sshd_packages is not defined
|
||||
- set_fact:
|
||||
- name: Define sshd_config_owner
|
||||
set_fact:
|
||||
sshd_config_owner: "{{ __sshd_config_owner }}"
|
||||
when: sshd_config_owner is not defined
|
||||
- set_fact:
|
||||
- name: Define sshd_config_group
|
||||
set_fact:
|
||||
sshd_config_group: "{{ __sshd_config_group }}"
|
||||
when: sshd_config_group is not defined
|
||||
- set_fact:
|
||||
- name: Define sshd_config_mode
|
||||
set_fact:
|
||||
sshd_config_mode: "{{ __sshd_config_mode }}"
|
||||
when: sshd_config_mode is not defined
|
||||
- set_fact:
|
||||
- name: Define sshd_config_file
|
||||
set_fact:
|
||||
sshd_config_file: "{{ __sshd_config_file }}"
|
||||
when: sshd_config_file is not defined
|
||||
- set_fact:
|
||||
- name: Define sshd_binary
|
||||
set_fact:
|
||||
sshd_binary: "{{ __sshd_binary }}"
|
||||
when: sshd_binary is not defined
|
||||
- set_fact:
|
||||
- name: Define sshd_service
|
||||
set_fact:
|
||||
sshd_service: "{{ __sshd_service }}"
|
||||
when: sshd_service is not defined
|
||||
- set_fact:
|
||||
- name: Define sshd_sftp_server
|
||||
set_fact:
|
||||
sshd_sftp_server: "{{ __sshd_sftp_server }}"
|
||||
when: sshd_sftp_server is not defined
|
||||
|
|
Loading…
Reference in a new issue