aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 9ba4477a17035f5091157281e2a51cfbc0fadab3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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

[the Foreman]: http://theforeman.org
[Ansible]: http://ansible.com