Migration to gitea
This commit is contained in:
parent
5869837da4
commit
44bb22d510
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
msmtp_rpm_file: msmtp-1.8.20-1.el8.{{ ansible_architecture }}.rpm
|
||||
msmtp_version: 1.8.20-1
|
||||
msmtp_rpm_file: https://git.garbaye.fr/api/packages/gitouche/generic/msmtp/{{ msmtp_version}}/msmtp-{{ msmtp_version}}.el8.{{ ansible_architecture }}.rpm
|
||||
|
||||
msmtp_accounts:
|
||||
# Account 1 - it was a real account for testing (but yandex now blocks it)
|
||||
|
|
|
@ -1,11 +1,4 @@
|
|||
---
|
||||
- name: Copy RPM file to server
|
||||
copy:
|
||||
src: "{{ msmtp_rpm_file }}"
|
||||
dest: "/tmp/{{ msmtp_rpm_file }}"
|
||||
mode: 0400
|
||||
when: ansible_os_family == "RedHat"
|
||||
|
||||
- name: Copy systemd unit file to server
|
||||
copy:
|
||||
src: msmtpd.service
|
||||
|
@ -22,7 +15,7 @@
|
|||
- name: Install msmtp
|
||||
yum:
|
||||
name:
|
||||
- "/tmp/{{ msmtp_rpm_file }}"
|
||||
- "{{ msmtp_rpm_file }}"
|
||||
- mailx
|
||||
state: present
|
||||
disable_gpg_check: yes
|
||||
|
|
Loading…
Reference in a new issue