homelab/playbooks/initial-setup.yaml

8 lines
175 B
YAML

---
- hosts: localhost
vars:
secret: "{{ lookup('rbw', 'Work Laptop') }}"
tasks:
- debug:
msg: the value of the secret is {{ secret.data.public_key }}