changed lockfile to be opened in write mode (solaris for one doesn't like
exclusive locks on read)
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
Merge pull request #2927 from bcoca/solaris_lock

changed lockfile to be opened in write mode
Fix for issue #2916 : for each host promote the host variables as globally scoped variables for the sake of the groups determination
Merge pull request #2944 from stoned/fix-2916

Fix for issue #2916 : for each host promote the host variables as global...
Fixes in apt module doc: typos, examples