Commit 30c5ac10 authored by Niko Tyni's avatar Niko Tyni

avoid become_user in shell command

parent 41a2b4d5
...@@ -15,5 +15,4 @@ ...@@ -15,5 +15,4 @@
- pool - pool
- user: name=acme home=/srv/acme - user: name=acme home=/srv/acme
- template: src=etc/nginx/mime.types.j2 dest=/etc/nginx/mime.types - template: src=etc/nginx/mime.types.j2 dest=/etc/nginx/mime.types
- shell: "umask 0077; openssl genrsa 4096 > /srv/acme/account.key creates=/srv/acme/account.key" - shell: "umask 0077; openssl genrsa 4096 > /srv/acme/account.key; chown acme /srv/acme/account.key creates=/srv/acme/account.key"
become_user: acme
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment