Skip to content

Instantly share code, notes, and snippets.

@bregman-arie
Last active September 9, 2022 08:13
Show Gist options
  • Save bregman-arie/dbbdb6a6a6a528fae355704176e2317c to your computer and use it in GitHub Desktop.
Save bregman-arie/dbbdb6a6a6a528fae355704176e2317c to your computer and use it in GitHub Desktop.
List all the supported keywords in an Ansible playbook
grep -R -i -E "\s+_\w+ \=" /usr/lib/python3.10/site-packages/ansible/playbook/* -o | sed 's/\s_//g' | tr -d = | uniq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment