ansible / ansible.builtin / v2.7.18 / 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.7.18) — module
pip
Install with pip install ansible==2.7.18
Allows the management of Foreman resources inside your Foreman server.
- name: Create CI Organization foreman: username: admin password: admin server_url: https://fakeserver.com entity: organization params: name: My Cool New Organization delegate_to: localhost
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