Fix code blocks in Docker README
This commit is contained in:
parent
85e5294363
commit
1c873cea70
|
@ -13,7 +13,8 @@ Role Variables
|
|||
|
||||
Variables can be found in the `default vars <defaults/main.yml>`_
|
||||
|
||||
.. codeblock:: yaml
|
||||
.. code-block:: yaml
|
||||
|
||||
docker_edition: 'ce'
|
||||
docker_dependencies:
|
||||
- "apt-transport-https"
|
||||
|
@ -30,13 +31,15 @@ Variables can be found in the `default vars <defaults/main.yml>`_
|
|||
|
||||
Defines Docker flavor to install, dependencies and the packages to install. We don't install the docker-compose binary since compose is include in the Docker command line.
|
||||
|
||||
.. codeblock:: yaml
|
||||
.. code-block:: yaml
|
||||
|
||||
docker_users:
|
||||
- "syrell"
|
||||
|
||||
A list of UNIX users to add to the docker group.
|
||||
|
||||
.. codeblock:: yaml
|
||||
.. code-block:: yaml
|
||||
|
||||
docker_daemon_options:
|
||||
docker_daemon_options:
|
||||
log-opts:
|
||||
|
@ -44,7 +47,8 @@ A list of UNIX users to add to the docker group.
|
|||
|
||||
A dictionary listing options to add to the Docker daemon.
|
||||
|
||||
.. codeblock:: yaml
|
||||
.. code-block:: yaml
|
||||
|
||||
docker_apt_release_channel: stable
|
||||
docker_repo_url: https://download.docker.com/linux
|
||||
docker_apt_arch: amd64
|
||||
|
@ -61,7 +65,8 @@ None.
|
|||
Example Playbook
|
||||
----------------
|
||||
|
||||
.. codeblock:: yaml
|
||||
.. code-block:: yaml
|
||||
|
||||
- name: Install docker
|
||||
hosts: all
|
||||
roles:
|
||||
|
|
Loading…
Reference in New Issue
Block a user