From 0df4ccf4bc5c5d80cd0963048897b66390e2de66 Mon Sep 17 00:00:00 2001 From: Nick White Date: Mon, 27 Jul 2020 16:15:25 +0100 Subject: Add mailsettings to pipeline --- roles/pipeliner/tasks/pipeline.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'roles/pipeliner/tasks') 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 -- cgit v1.2.1-24-ge1ad