From 388130ca6d2ebcdd49f7abee923a1173f14c43a5 Mon Sep 17 00:00:00 2001 From: Wilfried OLLIVIER Date: Sun, 7 Jul 2019 21:21:48 +0200 Subject: [PATCH] Fix: code and shell stuff --- src/ops/tools/ansible.md | 2 +- src/ops/tools/openssl.md | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/ops/tools/ansible.md b/src/ops/tools/ansible.md index f249d8e..2dfefc7 100644 --- a/src/ops/tools/ansible.md +++ b/src/ops/tools/ansible.md @@ -28,7 +28,7 @@ ansible-playbook -i host.targets -v site.yml --limit hostname To tell Jinja2 to not mess with carriage return in templates add -``` +```jinja #jinja2: trim_blocks:False --- ``` diff --git a/src/ops/tools/openssl.md b/src/ops/tools/openssl.md index 027eb45..2497949 100644 --- a/src/ops/tools/openssl.md +++ b/src/ops/tools/openssl.md @@ -4,12 +4,18 @@ ### CSR - openssl req -text -noout -verify -in request.csr +```shell +openssl req -text -noout -verify -in request.csr +``` ### Key - openssl rsa -in privkey.key -check +```shell +openssl rsa -in privkey.key -check +``` ### Cert - openssl x509 -in certficate.crt -text -noout +```shell +openssl x509 -in certficate.crt -text -noout +```