localhost

October 31, 2022 ยท View on GitHub

  • Overview
  • Examples
  • Expected Output

Overview

The localhost instance. Used to run ansible modules from the localhost.

Examples

def test_fun(localhost):
    localhost.api_call()

Expected Output

An Ansible Host instance capable of calling ansible modules.

Contents

  1. 1Overview
  2. 2Examples
  3. 3Expected Output