Function: ansible-list-playbooks

ansible-list-playbooks is a natively compiled function defined in ansible.el.

Signature

(ansible-list-playbooks)

Documentation

Find .yml files in `ansible-root-path`.

Source Code

;; Defined in /nix/store/ihs1wd4idvapzygy87ss7ddr2pwcpsxg-emacs-packages-deps/share/emacs/site-lisp/elpa/ansible-20260607.1852/ansible.el
(defun ansible-list-playbooks ()
  "Find .yml files in `ansible-root-path`."
  (if (ansible-update-root-path)
      (mapcar
       (lambda (file) (f-relative file ansible-root-path))
       (f-files ansible-root-path (lambda (file)
                                    (s-matches? ".yml" (f-long file)))
                t))
    nil))