diff options
Diffstat (limited to 'rss.jinwei.me/config/roles/rss/tasks')
-rw-r--r-- | rss.jinwei.me/config/roles/rss/tasks/main.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/rss.jinwei.me/config/roles/rss/tasks/main.yaml b/rss.jinwei.me/config/roles/rss/tasks/main.yaml new file mode 100644 index 0000000..16091cb --- /dev/null +++ b/rss.jinwei.me/config/roles/rss/tasks/main.yaml | |||
@@ -0,0 +1,17 @@ | |||
1 | - name: render Dockerfile.rssbot | ||
2 | template: | ||
3 | src: Dockerfile.rssbot.j2 | ||
4 | dest: "{{ rss_home }}/Dockerfile.rssbot" | ||
5 | mode: 0644 | ||
6 | |||
7 | - name: render docker-compose | ||
8 | template: | ||
9 | src: docker-compose.yaml.j2 | ||
10 | dest: "{{ rss_home }}/docker-compose.yaml" | ||
11 | mode: 0644 | ||
12 | |||
13 | - name: Start rss toolchain using docker-compose | ||
14 | community.docker.docker_compose: | ||
15 | project_name: rss | ||
16 | project_src: "{{ rss_home }}" | ||
17 | register: output | ||