Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nosmoht/ansible-role-foreman
Ansible role to configure Foreman and manage hosts
https://github.com/nosmoht/ansible-role-foreman
Last synced: 21 days ago
JSON representation
Ansible role to configure Foreman and manage hosts
- Host: GitHub
- URL: https://github.com/nosmoht/ansible-role-foreman
- Owner: Nosmoht
- Created: 2015-03-06T15:47:47.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-30T08:51:23.000Z (over 8 years ago)
- Last Synced: 2023-12-16T19:23:22.421Z (11 months ago)
- Size: 48.8 KB
- Stars: 5
- Watchers: 6
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ansible-role-foreman
=========# Description
Ansible role to manage Foreman resources. This role does not install Foreman!The following resources can be managed (currently only created or deleted).
- Architectures
- Compute Attributes
- Compute Profiles
- Compute Resources
- Config Templates
- Domains
- Environments
- Hostgroups
- Hosts
- Locations
- Media
- Operatingsystems
- Organizations (requires Katello)
- Roles
- Smart Proxies
- Subnets
- Users# Requirements
Ansible is required as well as the [Ansible library] to manage Foreman resources.# Role Variables
| Name | Description | Default value |
| :------ | :------ | :----- |
| foreman_host | Hostname or IP of Foreman host | 127.0.0.1 |
| foreman_port | Port used to connect to Foreman | 443 |
| foreman_user | User to authenticate | admin |
| foreman_pass | Password | topsecret |
| foreman_debug | Boolean to define if results of each task should be printed | False |
| foreman_default_domain | Default Domain of a host if not specified | None |
| foreman_default_environment | Default Environment of a host if not specified | None |
| foreman_default_location | Default Location of a host if not specified | None |
| foreman_default_hostgroup | Default Hostgroup of a host if not specified | None |
| foreman_default_operatingsystem | Default Operatingsystem of a host if not specified | None |
| foreman_default_organization | Default Organization of a host if not specified | None |
| foreman_default_compute_profile | Default Compute Profile of a host if not specified | None |
| foreman_default_compute_resource | Default Compute Resource of a host if not specified | None |# Dependencies
No other roles needed
# Example Playbooks
```yaml
- hosts: foreman
roles:
- role: foreman
```
# LicenseBSD
# Author Information
[Thomas Krahn][Thomas Krahn]: mailto:[email protected]
[Ansible library]: https://github.com/Nosmoht/ansible-library-foreman