ansible / ansible.builtin / v2.4.6.0-1 / module / foreman Manage Foreman Resources | "added in version" 2.3 of ansible.builtin" Authors: Eric D Helms (@ehelms) preview | supported by communityansible.builtin.foreman (v2.4.6.0-1) — module
pip
Install with pip install ansible==2.4.6.0.post1
Allows the management of Foreman resources inside your Foreman server
- 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"
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