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/)
|
Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
- feat: add bsd-mailx package
|
- 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
|
- first version
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
- name: reload postfix
|
- name: reload postfix
|
||||||
systemd:
|
ansible.builtin.service:
|
||||||
name: postfix
|
name: postfix
|
||||||
state: reloaded
|
state: reloaded
|
||||||
|
|
|
@ -1,15 +1,13 @@
|
||||||
---
|
---
|
||||||
- name: install packages
|
- name: install packages
|
||||||
apt:
|
ansible.builtin.package:
|
||||||
name: '{{ packages }}'
|
name:
|
||||||
vars:
|
|
||||||
packages:
|
|
||||||
- postfix
|
- postfix
|
||||||
- bsd-mailx
|
- bsd-mailx
|
||||||
tags: postfix
|
tags: postfix
|
||||||
|
|
||||||
- name: copy file configuration
|
- name: copy file configuration
|
||||||
template:
|
ansible.builtin.template:
|
||||||
src: main.cf.j2
|
src: main.cf.j2
|
||||||
dest: /etc/postfix/main.cf
|
dest: /etc/postfix/main.cf
|
||||||
owner: root
|
owner: root
|
||||||
|
@ -19,7 +17,7 @@
|
||||||
tags: postfix
|
tags: postfix
|
||||||
|
|
||||||
- name: enable and start service
|
- name: enable and start service
|
||||||
systemd:
|
ansible.builtin.service:
|
||||||
name: postfix
|
name: postfix
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: started
|
state: started
|
||||||
|
|
Loading…
Reference in a new issue