24 lines
544 B
YAML
24 lines
544 B
YAML
|
- name: Clone darkhttpd
|
||
|
git:
|
||
|
dest: '{{ darkhttpd.path }}'
|
||
|
repo: 'https://git.redxen.eu/RepoMirrors/darkhttpd'
|
||
|
tags:
|
||
|
- darkhttpd
|
||
|
- packages
|
||
|
- name: Build darkhttpd
|
||
|
make:
|
||
|
chdir: '{{ darkhttpd.path }}'
|
||
|
target: all
|
||
|
tags:
|
||
|
- darkhttpd
|
||
|
- packages
|
||
|
- name: Copy systemd service file
|
||
|
template:
|
||
|
follow: yes
|
||
|
src: 'darkhttpd.service.j2'
|
||
|
dest: '/etc/systemd/system/darkhttpd.service'
|
||
|
notify: Run service actions
|
||
|
tags:
|
||
|
- darkhttpd
|
||
|
- systemd
|