forked from vincent/notebook
add ansible template test
This commit is contained in:
parent
64cb5492dd
commit
1783ac4390
@ -29,3 +29,9 @@ in ansible config file set
|
||||
```config
|
||||
hash_behaviour = merge
|
||||
```
|
||||
|
||||
## test ansible template in local
|
||||
|
||||
```sh
|
||||
ansible -m ansible.builtin.template -a "src=daemon.json.j2 dest=./test.json" --extra-vars=@../defaults/main.yml localhost
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user