commit bfc96035ea78bfecdae2fa57b57801e53a5de081 parent 9179695411754268a851cf83225a6b4dfdf066e8 Author: Anders Hedman <anders.hedman01@gmail.com> Date: Tue, 27 Dec 2022 18:47:57 +0100 doom: ansible playbook snippet Diffstat:
A | .doom.d/snippets/yaml-mode/playbook | | | 15 | +++++++++++++++ |
1 file changed, 15 insertions(+), 0 deletions(-)
diff --git a/.doom.d/snippets/yaml-mode/playbook b/.doom.d/snippets/yaml-mode/playbook @@ -0,0 +1,14 @@ +# -*- mode: snippet -*- +# name: New playbook template +# expand-env: ((yas-indent-line 'fixed)) +# key: host +# condition: t +# -- +${1:---} +- hosts: ${2:hostname} + remote_user: ${3:ansible} + become: yes + strategy: linear + ${4:vars:} + ${5:roles:} + tasks:$0 +\ No newline at end of file