publiccode.si/playbook.yml

22 lines
590 B
YAML
Raw Normal View History

2017-06-13 08:54:28 +02:00
---
- hosts: lund.fsfeurope.org
remote_user: root
tasks:
- name: build the pmpc container
command: docker build --no-cache=true -t pmpc https://git.fsfe.org/pmpc/website.git
2017-06-13 08:54:28 +02:00
- name: run pmpc
docker_container:
name: pmpc
image: pmpc
state: started
restart: yes
env:
2017-06-15 13:36:49 +02:00
HUGO_BASE_URL: https://publiccode.eu/
VIRTUAL_HOST: publiccode.eu
2017-06-15 13:40:47 +02:00
LETSENCRYPT_HOST: publiccode.eu
2017-06-15 13:36:49 +02:00
LETSENCRYPT_EMAIL: jonas@fsfe.org
volumes:
2017-06-13 11:48:55 +02:00
- "/srv/pmpc-signatures:/usr/share/blog/data/signatures:rw"