fix module defaults (#56020)

* fix module defaults

 - corrected precedence (specific module > group)
 - made into reusable function
 - use from gather_facts/service/package to match 'actual module used'
This commit is contained in:
Brian Coca
2019-05-14 09:59:18 -04:00
committed by GitHub
parent 8968d41599
commit 674a57c3fa
6 changed files with 45 additions and 15 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- refactored into function and use in some action plugins to match actual module used, made precedence very clear in code.