aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-03-14 11:21:44 +0800
committerAaron LI <aly@aaronly.me>2018-03-14 11:35:08 +0800
commitb6d2a3c419d11b503e6a9efe82fa017067feae6a (patch)
treec8b3867b5e8b3291a81797a658b9afd019bbb854
parentecdb5f1a09b80d8b09041ad51f2ab9f8a2b06a38 (diff)
downloadansible-dfly-vps-b6d2a3c419d11b503e6a9efe82fa017067feae6a.tar.bz2
deploy.yml: Add tags to roles, allowing only do tasks from one role
-rw-r--r--deploy.yml18
1 files 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: #