Variable: ansible-section-keywords-regex

ansible-section-keywords-regex is a variable defined in ansible.el.

Value

"^ *-? \\(environment\\|h\\(?:\\(?:andler\\|ost\\)s\\)\\|i\\(?:mport_tasks\\|nclude\\(?:_tasks\\)?\\)\\|p\\(?:\\(?:ost\\|re\\)_tasks\\)\\|roles?\\|tasks\\|vars\\(?:_\\(?:files\\|prompt\\)\\)?\\):"

Documentation

Special keywords used to identify toplevel information in a playbook.

Source Code

;; Defined in /nix/store/ihs1wd4idvapzygy87ss7ddr2pwcpsxg-emacs-packages-deps/share/emacs/site-lisp/elpa/ansible-20260607.1852/ansible.el
(defconst ansible-section-keywords-regex
  (concat
   "^ *-? "
   (regexp-opt
    '("environment" "handlers" "hosts" "import_tasks" "include" "include_tasks"
      "post_tasks" "pre_tasks" "role" "roles" "tasks" "vars" "vars_files"
      "vars_prompt")
    t)
   ":")
  "Special keywords used to identify toplevel information in a playbook.")