Skip to content
Snippets Groups Projects
Commit 14af0072 authored by Benjamin Bertrand's avatar Benjamin Bertrand
Browse files

Update documentation

parent 3bd70c6b
No related branches found
No related tags found
No related merge requests found
docs/_static/ansible/edit_ansible_group.png

366 KiB

docs/_static/ansible/edit_ansible_host_vars.png

411 KiB

docs/_static/ansible/list_ansible_groups.png

343 KiB

docs/_static/ansible/register_ansible_group.png

354 KiB

......@@ -73,3 +73,29 @@ If the host is an IOC (the interface should have the **IOC** tag), the form will
In both case, a confirmation dialog will be displayed when you submit the form.
.. image:: _static/create_vm_confirmation.png
Ansible inventory
-----------------
CSEntry is used as an Ansible dynamic inventory.
Ansible groups can be created via the web interface and variables can be defined at the group or host level.
Note that group creation/edition is restricted to admin users.
The main *Ansible groups* page lists all the groups with their variables and associated hosts.
.. image:: _static/ansible/list_ansible_groups.png
New group can be added from the *Register Ansible group* page:
.. image:: _static/ansible/register_ansible_group.png
Hosts can be associated to a group from the *Edit Ansible group* page or from the *Edit Host* page.
.. image:: _static/ansible/edit_ansible_group.png
.. image:: _static/ansible/edit_ansible_host_vars.png
Variables should be entered in YAML format. `CodeMirror <http://codemirror.net>`_ is used to provide a text editor with syntax higlighting
in the register/edit pages.
Refer to Ansible documentation for more information about `YAML Syntax <https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html>`_.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment