diff options
author | Aaron LI <aly@aaronly.me> | 2018-03-14 11:21:44 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-03-14 11:35:08 +0800 |
commit | b6d2a3c419d11b503e6a9efe82fa017067feae6a (patch) | |
tree | c8b3867b5e8b3291a81797a658b9afd019bbb854 | |
parent | ecdb5f1a09b80d8b09041ad51f2ab9f8a2b06a38 (diff) | |
download | ansible-dfly-vps-b6d2a3c419d11b503e6a9efe82fa017067feae6a.tar.bz2 |
deploy.yml: Add tags to roles, allowing only do tasks from one role
-rw-r--r-- | deploy.yml | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -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: # |