diff --git a/tasks/main.yml b/tasks/main.yml index 05e9343..9f067cd 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -7,14 +7,10 @@ - "{{ ansible_os_family }}_{{ ansible_distribution_major_version }}.yml" - "{{ ansible_os_family }}.yml" - default.yml - tags: - - sshd - name: OS is supported assert: that: sshd_os_supported == True - tags: - - sshd - name: Installed action: > @@ -23,8 +19,6 @@ state=installed with_items: "{{ sshd_packages }}" when: ansible_pkg_mgr != 'unknown' - tags: - - sshd - name: Configuration template: @@ -35,8 +29,6 @@ mode: "{{ sshd_config_mode }}" validate: "{{ sshd_binary }} -t -f %s" notify: reload_sshd - tags: - - sshd - name: Service enabled and running service: @@ -44,11 +36,7 @@ enabled: true state: started when: sshd_manage_service and ansible_virtualization_type != 'docker' - tags: - - sshd - name: Register that this role has run set_fact: sshd_has_run=true when: sshd_has_run is not defined - tags: - - sshd