mirror of
https://github.com/roles-ansible/ansible_role_packages.git
synced 2024-08-16 10:19:51 +02:00
add mailx
This commit is contained in:
parent
fe3bbb29ce
commit
8aff6fc456
3 changed files with 13 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue