diff --git a/README.md b/README.md index 2fa4e0f..ad941ba 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,8 @@ Example Playbook Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: +```yaml + - hosts: localhost vars: dns_records: @@ -39,8 +41,9 @@ Including an example of how to use your role (for instance, with variables passe - record_name: plop.opendoor.fr record_value: foobar.opendoor.fr. record__type: CNAME - roles: - - { role: tco.dns, dns_records: {{ dns_records }}" } + roles: + - { role: tco.dns } +``` License -------