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:
Salt 2020-02-20 04:28:29 -06:00
parent 70804ce728
commit 092e9ae470

View File

@ -46,7 +46,7 @@
- name: Create or renew certificate
block:
- 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:
creates: "/etc/apache2/sites-disabled/{{ website_url }}.conf"
- name: Create temporary config