Play with tags

This commit is contained in:
Adrien Reslinger 2020-04-05 23:29:22 +02:00
parent 4ce39bb4e9
commit e0838a61b9
4 changed files with 54 additions and 6 deletions

10
tasks/install.yml Normal file
View file

@ -0,0 +1,10 @@
---
- name: Define repo for {{ ansible_os_family }}
include_tasks: add_repo_{{ ansible_os_family }}.yml
tags:
- config
- name: Install packages
package: name='{{ ansible_packages }}' state=latest update_cache=yes
tags:
- installation