1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_base.git synced 2024-08-16 14:29:50 +02:00

add mailx

This commit is contained in:
L3D 2021-02-10 14:46:06 +01:00
parent fe3bbb29ce
commit 8aff6fc456
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 13 additions and 1 deletions

View file

@ -52,5 +52,8 @@ base_pkg_non_free_firmware: false
# do we want contrib from eth zuerich? # do we want contrib from eth zuerich?
base_pkg_contrib: false base_pkg_contrib: false
# mailx for debian (recomended for unattended_upgrades role
base__install_mailx: true
# version management # version management
submodules_versioncheck: false submodules_versioncheck: false

View file

@ -67,3 +67,11 @@
ansible_distribution == 'Fedora' and ansible_distribution_version | float >= 32 or ansible_distribution == 'Fedora' and ansible_distribution_version | float >= 32 or
ansible_distribution == 'Debian' and ansible_distribution_version | float >= 9 or ansible_distribution == 'Debian' and ansible_distribution_version | float >= 9 or
ansible_os_family == 'Archlinux' ansible_os_family == 'Archlinux'
- name: install mailx on debian
become: true
package:
name:
- bsd-mailx
state: "{{ base__package_state }}"
when: ansible_distribution == 'Debian' and ansible_distribution_version | float >= 7 and base__install_mailx | bool

View file

@ -59,6 +59,7 @@ base__linux_packages:
- asciinema - asciinema
- youtube-dl - youtube-dl
- bzip2 - bzip2
- jq
playbook_version_number: 9005 # should be over ninethousand playbook_version_number: 9006 # should be over ninethousand
playbook_version_path: 'base-packages_roles-ansible_github.version' playbook_version_path: 'base-packages_roles-ansible_github.version'