Fix code blocks in Docker README

This commit is contained in:
syrell 2023-02-12 23:36:13 +01:00
parent 85e5294363
commit 1c873cea70
Signed by: syrell
GPG Key ID: BC9570E849334AF9

View File

@ -13,7 +13,8 @@ Role Variables
Variables can be found in the `default vars <defaults/main.yml>`_ Variables can be found in the `default vars <defaults/main.yml>`_
.. codeblock:: yaml .. code-block:: yaml
docker_edition: 'ce' docker_edition: 'ce'
docker_dependencies: docker_dependencies:
- "apt-transport-https" - "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. 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: docker_users:
- "syrell" - "syrell"
A list of UNIX users to add to the docker group. A list of UNIX users to add to the docker group.
.. codeblock:: yaml .. code-block:: yaml
docker_daemon_options: docker_daemon_options:
docker_daemon_options: docker_daemon_options:
log-opts: 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. A dictionary listing options to add to the Docker daemon.
.. codeblock:: yaml .. code-block:: yaml
docker_apt_release_channel: stable docker_apt_release_channel: stable
docker_repo_url: https://download.docker.com/linux docker_repo_url: https://download.docker.com/linux
docker_apt_arch: amd64 docker_apt_arch: amd64
@ -61,7 +65,8 @@ None.
Example Playbook Example Playbook
---------------- ----------------
.. codeblock:: yaml .. code-block:: yaml
- name: Install docker - name: Install docker
hosts: all hosts: all
roles: roles: