feat(bash): upgrade bash to latest version with ansible
This commit is contained in:
parent
2c3b574467
commit
2481b15896
1 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
- name: Install latest bash (Debian)
|
||||||
|
when: ansible_os_family == "Debian"
|
||||||
|
become: yes
|
||||||
|
apt: name=bash state=latest update_cache=yes
|
||||||
|
|
||||||
|
- name: Install latest bash (macOS)
|
||||||
|
when: ansible_os_family == "Darwin"
|
||||||
|
homebrew: name=bash state=latest
|
||||||
|
|
||||||
- name: Remove pre-installed bash configurations which could cause conflicts
|
- name: Remove pre-installed bash configurations which could cause conflicts
|
||||||
file:
|
file:
|
||||||
state: absent
|
state: absent
|
||||||
|
|
Loading…
Add table
Reference in a new issue