Skip to content
Snippets Groups Projects
Commit d4c33dfe authored by nimrod's avatar nimrod
Browse files

Bash is needed for login shell (so only for the ldap_login role), moved tasks accordingly.

parent 7e26bdc6
No related branches found
No related tags found
No related merge requests found
...@@ -3,3 +3,17 @@ ...@@ -3,3 +3,17 @@
- name: Assert - name: Assert
assert: assert:
that: ansible_os_family in [ 'Debian', 'OpenBSD' ] that: ansible_os_family in [ 'Debian', 'OpenBSD' ]
- name: apt install
when: ansible_pkg_mgr == 'apt'
apt:
name: bash
state: present
update_cache: yes
cache_valid_time: 3600
- name: pkg install
when: ansible_pkg_mgr == 'openbsd_pkg'
openbsd_pkg:
name: bash
state: present
...@@ -23,8 +23,3 @@ ...@@ -23,8 +23,3 @@
regexp: '^installpath =' regexp: '^installpath ='
state: present state: present
create: yes create: yes
- name: Install Bash
openbsd_pkg:
name: bash
state: latest
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment