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:
parent
c36056561f
commit
fbb6003cf9
821
Manual.html
821
Manual.html
File diff suppressed because it is too large
Load Diff
@ -1685,9 +1685,12 @@ b'\xde\xad\xbe\xef'
|
||||
#+BEGIN_SRC yaml :tangle roles/yavdr-xorg/tasks/main.yml :mkdirp yes :padline no
|
||||
---
|
||||
# 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]
|
||||
#+END_SRC
|
||||
**** setup-xorg.yml
|
||||
#+BEGIN_SRC yaml :tangle roles/yavdr-xorg/tasks/setup-xorg.yml :mkdirp yes :padline no
|
||||
|
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user