ansible.builtin.foreman (v2.4.6.0-1) — module

Manage Foreman Resources

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

Authors: Eric D Helms (@ehelms)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.4.6.0.post1

Description

Allows the management of Foreman resources inside your Foreman server


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: "Create CI Organization"
  local_action:
      module: foreman
      username: "admin"
      password: "admin"
      server_url: "https://fakeserver.com"
      entity: "organization"
      params:
        name: "My Cool New Organization"

Inputs

    
entity:
    description:
    - The Foreman resource that the action will be performed on (e.g. organization, host)
    required: true

params:
    description:
    - Parameters associated to the entity resource to set or edit in dictionary format
      (e.g. name, description)
    required: true

password:
    description:
    - Password for user accessing Foreman server
    required: true

username:
    description:
    - Username on Foreman server
    required: true

server_url:
    description:
    - URL of Foreman server
    required: true