From ebb33ef9d07a451bf07d80fca74ab376eb52863d Mon Sep 17 00:00:00 2001 From: sam-at-github Date: Fri, 11 Apr 2014 23:50:36 +1000 Subject: [PATCH] What particular script? Moved a sentence. Sentence refers to script, "this particular script" before it has been introduced. Moved sentence to after intro as it confused me. I though I'd missed something.. --- docsite/rst/intro_dynamic_inventory.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docsite/rst/intro_dynamic_inventory.rst b/docsite/rst/intro_dynamic_inventory.rst index e42da4bad8f..7eeb517b2f4 100644 --- a/docsite/rst/intro_dynamic_inventory.rst +++ b/docsite/rst/intro_dynamic_inventory.rst @@ -28,11 +28,11 @@ It is expected that many Ansible users with a reasonable amount of physical hard While primarily used to kickoff OS installations and manage DHCP and DNS, Cobbler has a generic layer that allows it to represent data for multiple configuration management systems (even at the same time), and has -been referred to as a 'lightweight CMDB' by some admins. This particular script will communicate with Cobbler -using Cobbler's XMLRPC API. +been referred to as a 'lightweight CMDB' by some admins. To tie Ansible's inventory to Cobbler (optional), copy `this script `_ to /etc/ansible and `chmod +x` the file. cobblerd will now need to be running when you are using Ansible and you'll need to use Ansible's ``-i`` command line option (e.g. ``-i /etc/ansible/cobbler.py``). +This particular script will communicate with Cobbler using Cobbler's XMLRPC API. First test the script by running ``/etc/ansible/cobbler.py`` directly. You should see some JSON data output, but it may not have anything in it just yet.