summaryrefslogtreecommitdiff
path: root/roles/install_ssmtp/tasks/main.yml
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-18 23:39:16 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2017-03-18 23:39:16 +0100
commit1a4588d8f1130fa6ccaf8bbdd5ace7646ff23941 (patch)
treed77b2899eb0a509858aae46689d296ecd7d8b0ac /roles/install_ssmtp/tasks/main.yml
parent1b04ba26794fceda19acc3c0d052a3ecfa38b463 (diff)
setup_fastd.yml: install ssmtp
Diffstat (limited to 'roles/install_ssmtp/tasks/main.yml')
-rw-r--r--roles/install_ssmtp/tasks/main.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/install_ssmtp/tasks/main.yml b/roles/install_ssmtp/tasks/main.yml
new file mode 100644
index 0000000..2aa2c6e
--- /dev/null
+++ b/roles/install_ssmtp/tasks/main.yml
@@ -0,0 +1,11 @@
+---
+- name: install ssmtp
+ pacman:
+ name: ssmtp
+ state: present
+
+- name: configure ssmtp
+ template:
+ src: ssmtp.conf.j2
+ dest: /etc/ssmtp/ssmtp.conf
+