Skip to content

Commit

Permalink
Use dependecies instead of listing common (and others) in all the pla…
Browse files Browse the repository at this point in the history
…ybooks. This would may imporve performance of running the plays in some cases
  • Loading branch information
bencawkwell committed May 24, 2016
1 parent a09f494 commit eb1caa2
Show file tree
Hide file tree
Showing 14 changed files with 24 additions and 19 deletions.
1 change: 0 additions & 1 deletion dfhack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
- hosts: all

roles:
- common
- dfhack
6 changes: 0 additions & 6 deletions dwarffortress.yml

This file was deleted.

2 changes: 0 additions & 2 deletions gitwatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@
- hosts: all

roles:
- common
- supervisor
- gitwatch
3 changes: 0 additions & 3 deletions novnc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
- hosts: all

roles:
- common
- supervisor
- xdummy
- novnc

tasks:
Expand Down
3 changes: 3 additions & 0 deletions roles/dfhack/meta/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
dependencies:
- { role: dwarffortress }
3 changes: 3 additions & 0 deletions roles/dwarffortress/meta/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
dependencies:
- { role: common }
4 changes: 4 additions & 0 deletions roles/gitwatch/meta/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
dependencies:
- { role: dwarffortress }
- { role: supervisor }
3 changes: 3 additions & 0 deletions roles/novnc/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
dependencies:
- { role: dwarffortress }
- { role: supervisor }
- { role: xdummy }
- { role: x-display, display: "{{ x_display }}" }
3 changes: 3 additions & 0 deletions roles/textmode/meta/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
dependencies:
- { role: dwarffortress }
3 changes: 3 additions & 0 deletions roles/tileset-phoebus/meta/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
dependencies:
- { role: dwarffortress }
3 changes: 3 additions & 0 deletions roles/xpra/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
dependencies:
- { role: dwarffortress }
- { role: supervisor }
- { role: xdummy }
- { role: x-display, display: "{{ x_display }}" }
3 changes: 1 addition & 2 deletions textmode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
- hosts: all

roles:
- common
- textmode
- textmode
3 changes: 1 addition & 2 deletions tileset-phoebus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
- hosts: all

roles:
- common
- tileset-phoebus
- tileset-phoebus
3 changes: 0 additions & 3 deletions xpra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,4 @@
- hosts: all

roles:
- common
- supervisor
- xdummy
- xpra

0 comments on commit eb1caa2

Please sign in to comment.