mas : Add example using PATH: /usr/local/bin (#1424) (#1427)

Use of "environement" is required when mas is installed with
homebrew. I suppose most of people use homebrew.

(cherry picked from commit db61a899d5)

Co-authored-by: Jean-Pierre Matsumoto <jpmat296@gmail.com>
pull/1429/head
patchback[bot] 2020-12-01 20:57:09 +01:00 committed by GitHub
parent 1dfe7963cf
commit 32ac93fb16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -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: