From 52436acb48a55f7107d15c1348c8a0b8296efbde Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sat, 23 Jun 2018 13:43:14 -0500 Subject: [PATCH] roles/certbot: Add some task tags The *install* tag is applied to any task that installs a package. The *user* tag is applied to any task that creates an OS user or group. The *group* tag is applied to any task that creates an OS user group. --- roles/certbot/tasks/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/certbot/tasks/main.yml b/roles/certbot/tasks/main.yml index dfce9cf..2e440ea 100644 --- a/roles/certbot/tasks/main.yml +++ b/roles/certbot/tasks/main.yml @@ -2,11 +2,16 @@ package: name=certbot state=present + tags: + - install - name: ensure certbot group exists group: name=certbot system=yes + tags: + - group + - user - name: ensure certbot user exists user: name=certbot @@ -15,6 +20,8 @@ home=/var/lib/letsencrypt createhome=no state=present + tags: + - user - name: ensure certbot data directory exists file: