main.yml

#591
Raw
Author
Anonymous
Created
Oct. 26, 2022, 9:23 p.m.
Expires
Never
Size
532 bytes
Hits
23
Syntax
YAML
Private
No
- name: Install stuff
  hosts: macstadiumv2
  tasks:
    - name: Install with brew
      homebrew:
        name: 
          - node
          - homebrew/cask/flutter
          - docker
          - fastlane
        state: present
        path: /opt/homebrew/bin
      ignore_errors: yes


# i would like to have a config file (ex.: configs.yml) where the stuff installed is listed. how can i feed this variable to the play?

# like this below
---
stuff_brew_installs:
  - node
  - homebrew/cask/flutter
  - docker
  - fastlane