mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 19:01:26 -07:00
* Issue #1179: Add new statement to composer require changed check for v2. * Issue #1179: Add changelog fragment.
This commit is contained in:
parent
167153bff5
commit
19fdfcf0b3
2 changed files with 9 additions and 1 deletions
|
@ -145,7 +145,11 @@ def parse_out(string):
|
|||
|
||||
|
||||
def has_changed(string):
|
||||
return "Nothing to install or update" not in string
|
||||
for no_change in ["Nothing to install or update", "Nothing to install, update or remove"]:
|
||||
if no_change in string:
|
||||
return False
|
||||
|
||||
return True
|
||||
|
||||
|
||||
def get_available_options(module, command='install'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue