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