"Fossies" - the Fresh Open Source Software Archive

Member "ansible-2.9.27/docs/docsite/keyword_desc.yml" (11 Oct 2021, 6598 Bytes) of package /linux/misc/ansible-2.9.27.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 accelerate: "*DEPRECATED*, set to True to use accelerate connection plugin."
    2 accelerate_ipv6: "*DEPRECATED*, set to True to force accelerate plugin to use ipv6 for its connection."
    3 accelerate_port: "*DEPRECATED*, set to override default port use for accelerate connection."
    4 action: "The 'action' to execute for a task, it normally translates into a C(module) or action plugin."
    5 args: "A secondary way to add arguments into a task. Takes a dictionary in which keys map to options and values."
    6 always: List of tasks, in a block, that execute no matter if there is an error in the block or not.
    7 any_errors_fatal: Force any un-handled task errors on any host to propagate to all hosts and end the play.
    8 async: Run a task asynchronously if the C(action) supports this; value is maximum runtime in seconds.
    9 become: Boolean that controls if privilege escalation is used or not on :term:`Task` execution.
   10 become_flags: A string of flag(s) to pass to the privilege escalation program when :term:`become` is True.
   11 become_method: Which method of privilege escalation to use (such as sudo or su).
   12 become_user: "User that you 'become' after using privilege escalation. The remote/login user must have permissions to become this user."
   13 block: List of tasks in a block.
   14 changed_when: "Conditional expression that overrides the task's normal 'changed' status."
   15 check_mode: |
   16     A boolean that controls if a task is executed in 'check' mode
   17 
   18     .. seealso:: :ref:`check_mode_dry`
   19 
   20 connection: |
   21     Allows you to change the connection plugin used for tasks to execute on the target.
   22 
   23     .. seealso:: :ref:`using_connection`
   24 
   25 debugger: Enable debugging tasks based on state of the task result. See :ref:`playbook_debugger`
   26 delay: Number of seconds to delay between retries. This setting is only used in combination with :term:`until`.
   27 delegate_facts: Boolean that allows you to apply facts to a delegated host instead of inventory_hostname.
   28 delegate_to: Host to execute task instead of the target (inventory_hostname). Connection vars from the delegated host will also be used for the task.
   29 diff: "Toggle to make tasks return 'diff' information or not."
   30 environment: A dictionary that gets converted into environment vars to be provided for the task upon execution. This cannot affect Ansible itself nor its configuration, it just sets the variables for the code responsible for executing the task.
   31 fact_path: Set the fact path option for the fact gathering plugin controlled by :term:`gather_facts`.
   32 failed_when: "Conditional expression that overrides the task's normal 'failed' status."
   33 force_handlers: Will force notified handler execution for hosts even if they failed during the play. Will not trigger if the play itself fails.
   34 gather_facts: "A boolean that controls if the play will automatically run the 'setup' task to gather facts for the hosts."
   35 gather_subset: Allows you to pass subset options to the  fact gathering plugin controlled by :term:`gather_facts`.
   36 gather_timeout: Allows you to set the timeout for the fact gathering plugin controlled by :term:`gather_facts`.
   37 handlers: "A section with tasks that are treated as handlers, these won't get executed normally, only when notified after each section of tasks is complete. A handler's `listen` field is not templatable."
   38 hosts: "A list of groups, hosts or host pattern that translates into a list of hosts that are the play's target."
   39 ignore_errors: Boolean that allows you to ignore task failures and continue with play. It does not affect connection errors.
   40 ignore_unreachable: Boolean that allows you to ignore unreachable hosts and continue with play. This does not affect other task errors (see :term:`ignore_errors`) but is useful for groups of volatile/ephemeral hosts.
   41 loop: "Takes a list for the task to iterate over, saving each list element into the ``item`` variable (configurable via loop_control)"
   42 loop_control: |
   43     Several keys here allow you to modify/set loop behaviour in a task.
   44 
   45     .. seealso:: :ref:`loop_control`
   46 
   47 max_fail_percentage: can be used to abort the run after a given percentage of hosts in the current batch has failed.
   48 module_defaults: Specifies default parameter values for modules.
   49 name: "Identifier. Can be used for documentation, in or tasks/handlers."
   50 no_log: Boolean that controls information disclosure.
   51 notify: "List of handlers to notify when the task returns a 'changed=True' status."
   52 order: Controls the sorting of hosts as they are used for executing the play. Possible values are inventory (default), sorted, reverse_sorted, reverse_inventory and shuffle.
   53 poll: Sets the polling interval in seconds for async tasks (default 10s).
   54 port: Used to override the default port used in a connection.
   55 post_tasks: A list of tasks to execute after the :term:`tasks` section.
   56 pre_tasks: A list of tasks to execute before :term:`roles`.
   57 remote_user: User used to log into the target via the connection plugin.
   58 register: Name of variable that will contain task status and module return data.
   59 rescue: List of tasks in a :term:`block` that run if there is a task error in the main :term:`block` list.
   60 retries: "Number of retries before giving up in a :term:`until` loop. This setting is only used in combination with :term:`until`."
   61 roles: List of roles to be imported into the play
   62 run_once: Boolean that will bypass the host loop, forcing the task to attempt to execute on the first host available and afterwards apply any results and facts to all active hosts in the same batch.
   63 serial: |
   64     Explicitly define how Ansible batches the execution of the current play on the play's target
   65 
   66     .. seealso:: :ref:`rolling_update_batch_size`
   67 
   68 strategy: Allows you to choose the connection plugin to use for the play.
   69 tags: Tags applied to the task or included tasks, this allows selecting subsets of tasks from the command line.
   70 tasks: Main list of tasks to execute in the play, they run after :term:`roles` and before :term:`post_tasks`.
   71 throttle: Limit number of concurrent task runs on task, block and playbook level. This is independent of the forks and serial settings, but cannot be set higher than those limits. For example, if forks is set to 10 and the throttle is set to 15, at most 10 hosts will be operated on in parallel.
   72 until: "This keyword implies a ':term:`retries` loop' that will go on until the condition supplied here is met or we hit the :term:`retries` limit."
   73 vars: Dictionary/map of variables
   74 vars_files: List of files that contain vars to include in the play.
   75 vars_prompt: list of variables to prompt for.
   76 when: Conditional expression, determines if an iteration of a task is run or not.