README: Fix indentation for playbook-samples
This commit is contained in:
parent
c10cf880a8
commit
3ead6b2e3e
1 changed files with 7 additions and 7 deletions
14
README.md
14
README.md
|
@ -105,7 +105,7 @@ system can be gatherd via the ubus interface and will automatically be
|
||||||
integrated into the host_facts for reuse in the playbook like this:
|
integrated into the host_facts for reuse in the playbook like this:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
ubus: cmd=facts
|
ubus: cmd=facts
|
||||||
```
|
```
|
||||||
|
|
||||||
Otherwise, this module is a slim wrapper around the
|
Otherwise, this module is a slim wrapper around the
|
||||||
|
@ -222,12 +222,12 @@ An more complex example showing the usage of forcelist:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Securing uhttpd - Disable listening on wan
|
- name: Securing uhttpd - Disable listening on wan
|
||||||
uci: name={{ item.key }} value={{ uci.state.network.lan.ipaddr }}:{{ item.port }} forcelist=true autocommit=false
|
uci: name={{ item.key }} value={{ uci.state.network.lan.ipaddr }}:{{ item.port }} forcelist=true autocommit=false
|
||||||
with_items:
|
with_items:
|
||||||
- { key: 'uhttpd.main.listen_http', port: '80' }
|
- { key: 'uhttpd.main.listen_http', port: '80' }
|
||||||
- { key: 'uhttpd.main.listen_https', port: '443' }
|
- { key: 'uhttpd.main.listen_https', port: '443' }
|
||||||
notify:
|
notify:
|
||||||
- uci commit
|
- uci commit
|
||||||
```
|
```
|
||||||
|
|
||||||
# Contributing
|
# Contributing
|
||||||
|
|
Loading…
Add table
Reference in a new issue