Skip to content

Commit

Permalink
Add conditional example to manual
Browse files Browse the repository at this point in the history
  • Loading branch information
aelsabbahy committed Mar 7, 2017
1 parent 0fc009f commit 2cfa77b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,14 @@ user:
home: /home/{{.}}
shell: /bin/bash
{{end}}
package:
{{if eq .Env.OS "centos"}}
# This test is only when $OS environment variable is set to "centos"
libselinux:
installed: true
{{end}}
```

Rendered results:
Expand Down

0 comments on commit 2cfa77b

Please sign in to comment.