This repository has been archived on 2020-06-05. You can view files and clone it, but cannot push or open issues or pull requests.
ansible-darkhttpd/tasks/main.yml

24 lines
541 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: Restart services
tags:
- darkhttpd
- systemd