Ansible: Difference between revisions

From Halfface
Jump to navigation Jump to search
Line 1: Line 1:
=ansible options=
=ansible options=
  -l SUBSET, --limit SUBSET (further limit selected hosts to an additional pattern)
  -l SUBSET, --limit SUBSET                 (further limit selected hosts to an additional pattern)
  -t TAGS, --tags TAGS       (only run plays and tasks tagged with these values)
  -t TAGS, --tags TAGS                       (only run plays and tasks tagged with these values)
-e EXTRA_VARS, --extra-vars EXTRA_VARS    (set additional variables as key=value or YAML/JSON, if filename prepend with @)


=dont fail on errors=
=dont fail on errors=
  ignore_errors: yes
  ignore_errors: yes

Revision as of 14:15, 8 December 2020

ansible options

-l SUBSET, --limit SUBSET                  (further limit selected hosts to an additional pattern)
-t TAGS, --tags TAGS                       (only run plays and tasks tagged with these values)
-e EXTRA_VARS, --extra-vars EXTRA_VARS     (set additional variables as key=value or YAML/JSON, if filename prepend with @)

dont fail on errors

ignore_errors: yes