change tempalte command
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
vincent 2023-11-01 09:38:00 +01:00
parent 1783ac4390
commit e586bfaee9

View File

@ -33,5 +33,5 @@ hash_behaviour = merge
## test ansible template in local ## test ansible template in local
```sh ```sh
ansible -m ansible.builtin.template -a "src=daemon.json.j2 dest=./test.json" --extra-vars=@../defaults/main.yml localhost ansible -m debug -a "msg='{{ lookup('template','./daemon.json.j2')}}'" --extra-vars=@../../../group_vars/all/docker localhost
``` ```