Use correct syntax for tag-controlled imports

now it is possible to run just the tasks with the xorg.detect tag:
sudo -H ansible-playbook -i "localhost," --tags="xorg.detect" --connection=local yavdr07.yml
This commit is contained in:
Alexander Grothe
2018-01-07 17:46:55 +01:00
parent c36056561f
commit fbb6003cf9
3 changed files with 424 additions and 415 deletions

View File

@@ -1,5 +1,8 @@
---
# file: roles/yavdr-xorg/tasks/main.yml
- import_tasks: setup-xorg.yml tags=install,update
- import_tasks: detect-xorg.yml tags=xorg:detect,install
- import_tasks: desktop-session.yml tags=install,update
- import_tasks: setup-xorg.yml
tags: [install,update]
- import_tasks: detect-xorg.yml
tags: [xorg.detect,install]
- import_tasks: desktop-session.yml
tags: [install,update]