mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-11 19:31:13 +00:00
mas : Add example using PATH: /usr/local/bin (#1424)
Use of "environement" is required when mas is installed with homebrew. I suppose most of people use homebrew.
This commit is contained in:
committed by
GitHub
parent
b69ea1dfd9
commit
db61a899d5
@@ -55,6 +55,13 @@ EXAMPLES = '''
|
||||
id: 409183694
|
||||
state: present
|
||||
|
||||
- name: Install Divvy with command mas installed in /usr/local/bin
|
||||
community.general.mas:
|
||||
id: 413857545
|
||||
state: present
|
||||
environment:
|
||||
PATH: /usr/local/bin:{{ ansible_facts.env.PATH }}
|
||||
|
||||
- name: Install a list of apps
|
||||
community.general.mas:
|
||||
id:
|
||||
|
||||
Reference in New Issue
Block a user