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 branches found
No related tags found
1 merge request!25shell: Install emacs-nox iff emacs-gtk is not installed
Pipeline #4779 passed
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
shell_software: shell_software:
- bash-completion - bash-completion
- emacs-nox
- lftp - lftp
- mercurial - mercurial
- pwgen - pwgen
......
...@@ -49,6 +49,15 @@ ...@@ -49,6 +49,15 @@
- packages - packages
- shell - 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 - name: ensure installation of variable additional software
apt: apt:
name: "{{ shell_software }}" name: "{{ shell_software }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment