letsencrypt: add a specific tag for the user task.

This commit is contained in:
Andrea Dell'Amico 2017-11-17 13:11:48 +01:00
parent 33fe3715b6
commit f1b286dbe0
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@
- name: Create the letsencrypt acme user
user: name={{ letsencrypt_acme_user }} home={{ letsencrypt_acme_user_home }} createhome=no shell=/usr/sbin/nologin system=yes
when: letsencrypt_acme_install
tags: letsencrypt
tags: [ 'letsencrypt', 'letsencrypt_user' ]
- name: Create the letsencrypt acme home, if it does not exist already. In a separate step because it could be already there.
file: dest={{ letsencrypt_acme_user_home }} owner={{ letsencrypt_acme_user }} group={{ letsencrypt_acme_user }} state=directory recurse=yes