chore: use FQCN for module name
This commit is contained in:
parent
a7a5cb3126
commit
0098bbc6a1
3 changed files with 14 additions and 8 deletions
10
CHANGELOG.md
10
CHANGELOG.md
|
@ -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
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- name: reload postfix
|
||||
systemd:
|
||||
ansible.builtin.service:
|
||||
name: postfix
|
||||
state: reloaded
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue