diff --git a/lib/ansible/modules/source_control/github_hooks.py b/lib/ansible/modules/source_control/github_hooks.py index ce76b503c23..37ed6982614 100644 --- a/lib/ansible/modules/source_control/github_hooks.py +++ b/lib/ansible/modules/source_control/github_hooks.py @@ -83,10 +83,10 @@ EXAMPLES = ''' # Example creating a new service hook. It ignores duplicates. - github_hooks: action: create - hookurl: 'http://11.111.111.111:2222' + hookurl: http://11.111.111.111:2222 user: '{{ gituser }}' oauthkey: '{{ oauthkey }}' - repo: 'https://api.github.com/repos/pcgentry/Github-Auto-Deploy' + repo: https://api.github.com/repos/pcgentry/Github-Auto-Deploy # Cleaning all hooks for this repo that had an error on the last update. Since this works for all hooks in a repo it is probably best that this would be called from a handler. - github_hooks: