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.
jenkins-master
Dustin 2018-06-23 13:43:14 -05:00
parent 7766cc1d05
commit 52436acb48
1 changed files with 7 additions and 0 deletions

View File

@ -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: