Try another split
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
f0b5a2ad5f
commit
ed7c8586d0
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue