Use a more PATH-dependent mv command in https
Dude what I get through all this complex ACME configuration and misplace fucking mv of all things
This commit is contained in:
parent
70804ce728
commit
092e9ae470
@ -46,7 +46,7 @@
|
|||||||
- name: Create or renew certificate
|
- name: Create or renew certificate
|
||||||
block:
|
block:
|
||||||
- name: Back up website config
|
- name: Back up website config
|
||||||
command: "/usr/bin/mv /etc/apache2/sites-enabled/{{ website_url }}.conf /etc/apache2/sites-disabled/{{ website_url }}.conf"
|
command: "mv /etc/apache2/sites-enabled/{{ website_url }}.conf /etc/apache2/sites-disabled/{{ website_url }}.conf"
|
||||||
args:
|
args:
|
||||||
creates: "/etc/apache2/sites-disabled/{{ website_url }}.conf"
|
creates: "/etc/apache2/sites-disabled/{{ website_url }}.conf"
|
||||||
- name: Create temporary config
|
- name: Create temporary config
|
||||||
|
Loading…
Reference in New Issue
Block a user