chore: use FQCN for module name

This commit is contained in:
Adrien Waksberg 2021-08-20 18:20:55 +02:00
parent a7a5cb3126
commit 0098bbc6a1
3 changed files with 14 additions and 8 deletions

View file

@ -4,7 +4,15 @@ This project adheres to [Semantic Versioning](http://semver.org/).
Which is based on [Keep A Changelog](http://keepachangelog.com/)
## [Unreleased]
### Added
- feat: add bsd-mailx package
## [v1.0.0] - 2019-03-07
### Changed
- chore: use FQCN for module name
## v1.0.0 - 2019-03-07
- first version

View file

@ -1,5 +1,5 @@
---
- name: reload postfix
systemd:
ansible.builtin.service:
name: postfix
state: reloaded

View file

@ -1,15 +1,13 @@
---
- name: install packages
apt:
name: '{{ packages }}'
vars:
packages:
ansible.builtin.package:
name:
- postfix
- bsd-mailx
tags: postfix
- name: copy file configuration
template:
ansible.builtin.template:
src: main.cf.j2
dest: /etc/postfix/main.cf
owner: root
@ -19,7 +17,7 @@
tags: postfix
- name: enable and start service
systemd:
ansible.builtin.service:
name: postfix
enabled: yes
state: started