Skip to content
Snippets Groups Projects
Commit 1e7ecdf8 authored by Thomas Schneider's avatar Thomas Schneider
Browse files

shell: Install emacs-nox iff emacs-gtk is not installed

parent e17e04fa
No related tags found
1 merge request!25shell: Install emacs-nox iff emacs-gtk is not installed
Pipeline #4779 passed
......@@ -2,7 +2,6 @@
shell_software:
- bash-completion
- emacs-nox
- lftp
- mercurial
- pwgen
......
......@@ -49,6 +49,15 @@
- packages
- shell
- name: check installed software
package_facts:
manager: auto
- name: install emacs-nox iff emacs-gtk is not installed
apt:
name: emacs-nox
when: "'emacs-gtk' not in ansible_facts.packages"
- name: ensure installation of variable additional software
apt:
name: "{{ shell_software }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment