update
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
- name: install flatpak
|
||||
include_tasks: "./scripts/install_flatpak.yml"
|
||||
|
||||
#- name: install brew
|
||||
# include_tasks: "./scripts/install_brew.yml"
|
||||
- name: install brew
|
||||
include_tasks: "./scripts/install_brew.yml"
|
||||
|
||||
- name: install pacman
|
||||
include_tasks: "./scripts/install_pacman.yml"
|
||||
|
||||
@@ -2,11 +2,13 @@
|
||||
stat:
|
||||
path: /home/linuxbrew/.linuxbrew/bin/
|
||||
register: homebrew_check
|
||||
when: required_packages_brew is defined
|
||||
|
||||
- name: Fail If Homebrew Is Not Installed and install_homebrew_if_missing Is False
|
||||
fail:
|
||||
msg: Homebrew is missing, install from http://brew.sh
|
||||
when:
|
||||
- required_packages_brew is defined
|
||||
- not homebrew_check.stat.exists
|
||||
- not install_homebrew_if_missing
|
||||
|
||||
@@ -14,6 +16,7 @@
|
||||
become_user: user
|
||||
shell: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
when:
|
||||
- required_packages_brew is defined
|
||||
- not homebrew_check.stat.exists
|
||||
- install_homebrew_if_missing
|
||||
|
||||
|
||||
Reference in New Issue
Block a user