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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user