use command instead of shell when no shell functionality is required
This commit is contained in:
parent
b8e4ece8a7
commit
8b66ba059b
1 changed files with 1 additions and 1 deletions
|
@ -24,5 +24,5 @@
|
||||||
register: certbot_config
|
register: certbot_config
|
||||||
|
|
||||||
- name: Generate new certificates if the configuration changed
|
- name: Generate new certificates if the configuration changed
|
||||||
shell: "certbot certonly --non-interactive --config /etc/letsencrypt/conf.d/{{ certbot.certname }}.ini"
|
command: "certbot certonly --non-interactive --config /etc/letsencrypt/conf.d/{{ certbot.certname }}.ini"
|
||||||
when: certbot_config.changed
|
when: certbot_config.changed
|
||||||
|
|
Loading…
Reference in a new issue