diff options
author | Nick White <git@njw.name> | 2020-07-27 16:15:25 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2020-07-27 16:15:25 +0100 |
commit | 0df4ccf4bc5c5d80cd0963048897b66390e2de66 (patch) | |
tree | d9727658f495a6c04ba3b7d0436eacfcdfc13dc7 /roles | |
parent | d2dc3604b0764a40ba8e59e71a9690c857207d80 (diff) |
Add mailsettings to pipeline
Diffstat (limited to 'roles')
-rw-r--r-- | roles/pipeliner/files/mailsettings | 12 | ||||
-rw-r--r-- | roles/pipeliner/tasks/pipeline.yml | 16 |
2 files changed, 28 insertions, 0 deletions
diff --git a/roles/pipeliner/files/mailsettings b/roles/pipeliner/files/mailsettings new file mode 100644 index 0000000..d098bbd --- /dev/null +++ b/roles/pipeliner/files/mailsettings @@ -0,0 +1,12 @@ +$ANSIBLE_VAULT;1.1;AES256 +66623231623965346638613264643232366533643563316335666133323734346433633437633339 +3961383366353463383539636266383439333232323964620a613334653835393365643061333130 +32633231346564613236616536313631646166383838656530616639633165663738646530326166 +6466653563663435640a366430393966663162333565393834383865623463393733613431623031 +39383633353361663735643439613463306235613066336139323334663730663435663731353335 +63303061326534393261313832653737376231393563656133396134636237613264303136653632 +38323530663063326430653035666634303065343966646366613365343438343133646631666539 +34346161656339633633383434363631323466646237613037346636636566313063343031323835 +34383366633261316662343863643336666262666138666165353763363835373234656631623239 +64356439646437303233636564313761653964396266616530326537353735633536363631643538 +333630386435303963623863643239316334 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 |