From 092e9ae470ef598a33c1191ed7be7e519b1dcee2 Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 20 Feb 2020 04:28:29 -0600 Subject: [PATCH] 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 --- roles/https/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/https/tasks/main.yml b/roles/https/tasks/main.yml index a82b7da..bdf13bc 100644 --- a/roles/https/tasks/main.yml +++ b/roles/https/tasks/main.yml @@ -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