ansible.builtin.log (v2.16.5) — filter

log of (math operation)

| "added in version" 1.9 of ansible.builtin"

Authors: unknown

Install Ansible via pip

Install with pip install ansible-core==2.16.5

Description

Math operation that returns the L(logarithm, https://en.wikipedia.org/wiki/Logarithm) to base N of the input number.

By default, computes the L(natural logarithm, https://en.wikipedia.org/wiki/Natural_logarithm).

Inputs

    
base:
    default: 2.718281828459045
    description: Which base to use. Defaults to L(Euler's number, https://en.wikipedia.org/wiki/Euler%27s_number).
    type: float

_input:
    description: Number to operate on.
    required: true
    type: float

Outputs

_value:
  description: Resulting number.
  type: float