From 4325575ea8cd0e861bd2d8883077dc51e36e8a91 Mon Sep 17 00:00:00 2001 From: Robin Schneider Date: Sun, 27 Sep 2015 21:54:23 +0200 Subject: [PATCH] Use tags for role dependencies. --- meta/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/main.yml b/meta/main.yml index 5c746eb..9e1d944 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -3,12 +3,16 @@ dependencies: - role: debops.secret + tags: [ 'depend::secret', 'depend::secret:etherpad', 'depend-of::etherpad', 'type::dependency:hard' ] - role: debops.etc_services + tags: [ 'depend::etc_services', 'depend::etc_services:etherpad', 'depend-of::etherpad', 'type::dependency' ] - role: debops.nodejs + tags: [ 'depend::nodejs', 'depend::nodejs:etherpad', 'depend-of::etherpad', 'type::dependency' ] - role: debops.mysql + tags: [ 'depend::mysql', 'depend::mysql:etherpad', 'depend-of::etherpad', 'type::dependency' ] when: (etherpad_dependencies is defined and etherpad_dependencies) and (etherpad_database is defined and etherpad_database and etherpad_database == 'mysql') @@ -23,10 +27,10 @@ dependencies: state: 'present' - role: debops.nginx + tags: [ 'depend::nginx', 'depend::nginx:etherpad', 'depend-of::etherpad', 'type::dependency' ] nginx_servers: [ '{{ etherpad_nginx_server }}' ] nginx_upstreams: [ '{{ etherpad_nginx_upstream }}' ] when: (etherpad_dependencies is defined and etherpad_dependencies) - tags: nginx galaxy_info: author: 'Maciej Delmanowski'