feat: add bsd-mailx package

This commit is contained in:
Adrien Waksberg 2019-03-07 09:10:54 +01:00
parent 598dfbbdd7
commit a7a5cb3126
3 changed files with 11 additions and 4 deletions

View file

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

View file

@ -1,7 +1,11 @@
---
- name: install package
- name: install packages
apt:
name: postfix
name: '{{ packages }}'
vars:
packages:
- postfix
- bsd-mailx
tags: postfix
- name: copy file configuration

View file

@ -7,8 +7,10 @@ puts '================================'
puts %x(ansible --version)
puts '================================'
describe package('postfix') do
it { should be_installed }
%w[postfix bsd-mailx].each do |name|
describe package(name) do
it { should be_installed }
end
end
describe file('/etc/postfix/main.cf') do