add tags to all tasks

This commit is contained in:
Bert Van Vreckem 2016-10-29 20:47:38 +02:00
parent 3683ad41cd
commit b05c10721f

View File

@ -5,6 +5,7 @@
with_first_found: with_first_found:
- "os_{{ ansible_distribution }}.yml" - "os_{{ ansible_distribution }}.yml"
- "os_{{ ansible_os_family }}.yml" - "os_{{ ansible_os_family }}.yml"
tags: samba
- name: Install Samba packages - name: Install Samba packages
package: package:
@ -19,6 +20,7 @@
state: present state: present
with_items: "{{ samba_selinux_packages }}" with_items: "{{ samba_selinux_packages }}"
when: ansible_selinux when: ansible_selinux
tags: samba
- name: Make sure SELinux boolean settings are correct - name: Make sure SELinux boolean settings are correct
seboolean: seboolean:
@ -27,6 +29,7 @@
persistent: yes persistent: yes
with_items: "{{ samba_selinux_booleans }}" with_items: "{{ samba_selinux_booleans }}"
when: ansible_selinux when: ansible_selinux
tags: samba
- name: Create Samba shares root directory - name: Create Samba shares root directory
file: file:
@ -61,8 +64,8 @@
path: "{{ samba_www_documentroot }}/{{ item.name }}" path: "{{ samba_www_documentroot }}/{{ item.name }}"
src: "{{ item.path|default([samba_shares_root,item.name]|join('/')) }}" src: "{{ item.path|default([samba_shares_root,item.name]|join('/')) }}"
with_items: "{{ samba_shares }}" with_items: "{{ samba_shares }}"
tags: samba
when: samba_create_varwww_symlinks when: samba_create_varwww_symlinks
tags: samba
- name: Samba configuration - name: Samba configuration
template: template: