Fix deprecated "with_items" + remove omb
This commit is contained in:
parent
00dc20fe3c
commit
78d9f84b9b
@ -23,10 +23,10 @@
|
||||
register: omb_flag
|
||||
|
||||
- debug:
|
||||
msg: "OMB is not installed"
|
||||
msg: 'OMB is not installed, run: bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)"'
|
||||
when: not omb_flag.stat.exists
|
||||
|
||||
# FIXME: logout from shell
|
||||
- name: Install OMB
|
||||
shell: bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)"
|
||||
when: not omb_flag.stat.exists
|
||||
# - name: Install OMB
|
||||
# shell: bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)"
|
||||
# when: not omb_flag.stat.exists
|
||||
|
@ -1,11 +1,6 @@
|
||||
---
|
||||
- name: Install packages
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
name: ['mc', 'htop', 'vim', 'screen', 'tmux', 'curl', 'wget', 'bash-completion']
|
||||
state: present
|
||||
with_items:
|
||||
- mc
|
||||
- htop
|
||||
- vim
|
||||
- screen
|
||||
when: ansible_facts['os_family'] == "Debian"
|
||||
|
Loading…
Reference in New Issue
Block a user