From b6d2a3c419d11b503e6a9efe82fa017067feae6a Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Wed, 14 Mar 2018 11:21:44 +0800 Subject: deploy.yml: Add tags to roles, allowing only do tasks from one role --- deploy.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/deploy.yml b/deploy.yml index e9cc9f9..07a8fb9 100644 --- a/deploy.yml +++ b/deploy.yml @@ -5,11 +5,17 @@ become: true roles: - - basic - - security - - dns - - web - - mail - - shadowsocks + - role: basic + tags: basic + - role: security + tags: security + - role: dns + tags: dns + - role: web + tags: web + - role: mail + tags: mail + - role: shadowsocks + tags: shadowsocks # vim: set ft=yaml sw=2: # -- cgit v1.2.2