blob: 0b638572e00c94ffc5d5d3f572bc5f2b75734d8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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.
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
|