(cherry picked from commit 0829bc641e
)
Co-authored-by: Felix Fontein <felix@fontein.de>
pull/594/head
parent
1572c10384
commit
9fc27e74f8
|
@ -67,6 +67,13 @@
|
||||||
get_url:
|
get_url:
|
||||||
url: https://raw.githubusercontent.com/diafygi/acme-tiny/master/acme_tiny.py
|
url: https://raw.githubusercontent.com/diafygi/acme-tiny/master/acme_tiny.py
|
||||||
dest: "{{ remote_tmp_dir }}/acme-tiny"
|
dest: "{{ remote_tmp_dir }}/acme-tiny"
|
||||||
|
when: ansible_python_version is version('2.7', '>=')
|
||||||
|
|
||||||
|
- name: Get hold of acme-tiny executable (Python 2.6)
|
||||||
|
command:
|
||||||
|
cmd: >-
|
||||||
|
curl https://raw.githubusercontent.com/diafygi/acme-tiny/master/acme_tiny.py --output "{{ remote_tmp_dir }}/acme-tiny"
|
||||||
|
when: ansible_python_version is version('2.7', '<')
|
||||||
|
|
||||||
- name: Make sure acme-tiny is executable
|
- name: Make sure acme-tiny is executable
|
||||||
file:
|
file:
|
||||||
|
|
Loading…
Reference in New Issue