Skip to content

vurbia/ansible_foreman_module

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple module to create hosts in the Foreman via Ansible

Usage:

ansible-playbook --module-path . -c local -i localhost, example.yml

The file example.yml has an example. You can augment this with a custom json template for parameters that aren't configurable (yet).

Simple example:

- foremanhost: name=foo hostgroup=bar state=present api_user=foreman api_password=changeme api_url: https://127.0.0.1

About

Create hosts in the Foreman via ansible

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%