diff --git a/docs/plugins/tasks/version_control/gitlab.ipynb b/docs/plugins/tasks/version_control/gitlab.ipynb index 8a337799..5c5beef5 100644 --- a/docs/plugins/tasks/version_control/gitlab.ipynb +++ b/docs/plugins/tasks/version_control/gitlab.ipynb @@ -14,7 +14,7 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 1, "metadata": { "autoscroll": false, "collapsed": false, @@ -31,8 +31,8 @@ "output_type": "stream", "text": [ "\n", - " Writes contents to a new file or update contents of an existing file in a\n", - " gitlab repository.\n", + " Exposes some of the Gitlab API functionality for operations on files\n", + " in a Gitlab repository.\n", "\n", " Example:\n", "\n", @@ -42,18 +42,18 @@ " token=\"ABCD1234\",\n", " repository=\"test\",\n", " filename=\"config\",\n", - " branch=\"master\")\n", + " ref=\"master\")\n", "\n", " Arguments:\n", " dry_run: Whether to apply changes or not\n", " url: Gitlab instance URL\n", " token: Personal access token\n", - " repository: destination repository\n", - " filename: destination file name\n", + " repository: source/destination repository\n", + " filename: source/destination file name\n", " content: content to write\n", " action: ``create``, ``update``, ``get``\n", " branch: destination branch\n", - " destination: destination filename (only used in get action)\n", + " destination: local destination filename (only used in get action)\n", " ref: branch, commit hash or tag (only used in get action)\n", " commit_message: commit message\n", "\n", @@ -62,21 +62,7 @@ " * changed (``bool``):\n", " * diff (``str``): unified diff\n", "\n", - " " - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001b[0m\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001b[0m" + " \n" ] } ],