diff --git a/README.rst b/README.rst
index 3eccb30fd09de7878a622f2ffa630dc8c8b03ab9..441f5323c29aa1bd574ac9ae6df8b724df932f56 100644
--- a/README.rst
+++ b/README.rst
@@ -37,7 +37,7 @@ And run :code:`pre-commit autoupdate` to update the hooks. In case your
 testing or at :code:`/etc/ansible/roles` you need to declare the roles search
 path in :code:`ansible.cfg` in the root of the repo like so:
 
-.. code:
+.. code::
 
     [defaults]
     roles_path=path/to/roles/directory:path/to/another/roles/directory