mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-30 08:50:55 +08:00
Try another split
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
- name: Get the directory to use
|
||||
delegate_to: certgetter01.phx2.fedoraproject.org
|
||||
# Sometimes we get directories like site-0001, site-0002, etc. We want the latest
|
||||
shell: "file /etc/letsencrypt/live/{{site_name}}* | tail -1 | awk '{print $1} | sed -e 's/://' | tr -d '\n'"
|
||||
shell: "file /etc/letsencrypt/live/{{site_name}}* | tail -1 | sed -e 's/: directory//' | tr -d '\n'"
|
||||
register: certbot_dir
|
||||
changed_when: 'false'
|
||||
tags:
|
||||
|
||||
Reference in New Issue
Block a user