Macports: Add upgrade parameter and replace update_ports with selfupdate (#45049)

* macports: Replace update_ports with selfupdate

- Macports discourages use of `port sync` and recommends using `port
selfupdate` instead.
- Keep `update_cache` and `update_ports` as aliases.
- No longer require the `name` parameter so that `selfupdate` can be
used in a task by itself.

* macports: Add upgrade parameter

- New upgrade parameter which can be used to upgrade all outdated ports.

* Add changelog fragment
This commit is contained in:
newtonne
2018-10-03 18:58:55 +01:00
committed by Sam Doran
parent 84eb92d13d
commit bd849e8fb4
2 changed files with 72 additions and 15 deletions

View File

@@ -0,0 +1,2 @@
minor_changes:
- macports - add upgrade parameter and replace update_ports parameter with selfupdate (https://github.com/ansible/ansible/pull/45049)