Initial qwen3 run with opencode
This commit is contained in:
17
templates.md
Normal file
17
templates.md
Normal file
@@ -0,0 +1,17 @@
|
||||
## Templates
|
||||
|
||||
Use Jinja2 templates for dynamic content:
|
||||
|
||||
```yaml
|
||||
- name: Render template
|
||||
template:
|
||||
src: "templates/nginx.conf.j2"
|
||||
dest: "/etc/nginx/nginx.conf"
|
||||
|
||||
# Example template file (nginx.conf.j2)
|
||||
# {{ ansible_distribution }}
|
||||
server {
|
||||
listen {{ ansible_default_ipv4.address }};
|
||||
server_name example.com;
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user