update readme

This commit is contained in:
histausse 2022-03-05 01:58:04 +01:00
parent d9ae85f063
commit 49bc9d74b1
Signed by: histausse
GPG key ID: 67486F107F62E9E9

View file

@ -15,7 +15,14 @@ You need to have the `cryptography` python library available on the localhost an
## How to use it ## How to use it
Copy the roles of the repo in the role folder of your ansible projet. Define in you projet the variables you want/need to modify (cf the section Generate a CA). Add the submodule of the role you want to use in your role folder:
```
git submodule add ssh://git@gitea.auro.re:2222/Pains-Perdus/generate-cert.git roles/generate-cert
git submodule init
```
Define in you projet the variables you want/need to modify (cf the section Generate a CA).
After that you can use the role in your playbooks, as shown in the example playbook. After that you can use the role in your playbooks, as shown in the example playbook.