Skip to content

Commit

Permalink
Add tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Willsher committed Dec 25, 2014
1 parent 1aecc38 commit 3232f92
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@
- "{{ ansible_distribution }}.yml"
- "{{ ansible_os_family }}.yml"
- default.yml
tags:
- sshd

- name: Installed
action: >
{{ ansible_pkg_mgr }}
name="{{ item }}"
state=installed
with_items: sshd_packages
tags:
- sshd

- name: Configured
template:
Expand All @@ -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

0 comments on commit 3232f92

Please sign in to comment.