summaryrefslogtreecommitdiff
path: root/roles/pipeliner/tasks
diff options
context:
space:
mode:
authorNick White <git@njw.name>2020-07-27 16:15:25 +0100
committerNick White <git@njw.name>2020-07-27 16:15:25 +0100
commit0df4ccf4bc5c5d80cd0963048897b66390e2de66 (patch)
treed9727658f495a6c04ba3b7d0436eacfcdfc13dc7 /roles/pipeliner/tasks
parentd2dc3604b0764a40ba8e59e71a9690c857207d80 (diff)
Add mailsettings to pipeline
Diffstat (limited to 'roles/pipeliner/tasks')
-rw-r--r--roles/pipeliner/tasks/pipeline.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/roles/pipeliner/tasks/pipeline.yml b/roles/pipeliner/tasks/pipeline.yml
index 7186f83..582e5de 100644
--- a/roles/pipeliner/tasks/pipeline.yml
+++ b/roles/pipeliner/tasks/pipeline.yml
@@ -56,6 +56,22 @@
group: root
mode: 0755
+- name: Create settings directory
+ file:
+ path: /home/admin/.config/bookpipeline
+ state: directory
+ owner: admin
+ group: admin
+ mode: 0755
+
+- name: Install mail settings
+ copy:
+ src: mailsettings
+ dest: /home/admin/.config/bookpipeline/mailsettings
+ owner: admin
+ group: admin
+ mode: 0600
+
- name: Install systemd unit file
copy: src=bookpipeline.service dest=/etc/systemd/system
notify: reload daemons