summaryrefslogtreecommitdiffstats
path: root/docs/index.md
blob: 3a5496204bb1f475542dda2fb8d3f14f57febbcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Examples

## Using Ansible runtime

```python title="example.py"
{!../test/test_runtime_example.py!}
```

## Access to Ansible configuration

As you may not want to parse `ansible-config dump` yourself, you can make use of
a simple python class that facilitates access to it, using python data types.

```python
{!../test/test_configuration_example.py!}
```