mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-02 23:31:25 -07:00
Merge pull request #6554 from vyrak/keep-head-state
homebrew: state=head includes --HEAD
This commit is contained in:
commit
d686a23b69
1 changed files with 3 additions and 1 deletions
|
@ -756,8 +756,10 @@ def main():
|
|||
path = ['/usr/local/bin']
|
||||
|
||||
state = p['state']
|
||||
if state in ('present', 'installed', 'head'):
|
||||
if state in ('present', 'installed'):
|
||||
state = 'installed'
|
||||
if state in ('head'):
|
||||
state = 'head'
|
||||
if state in ('latest', 'upgraded'):
|
||||
state = 'upgraded'
|
||||
if state == 'linked':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue