Commit a25efb1
fix: restore ability to dump all configuration
When running `kayobe configuration dump` would fail with
```
...FAILED! => \n msg: to_nice_yaml - 'hostvars'. 'hostvars'
```
This is due to the existence of variables that use `net_ip` filter.
Therefore, this can be avoided by using `lookup` filter.
Some of these changes are done within config and would be picked
automatically. However some changes are done within the documentation
and would require a user to update their configuration to benefit from
the changes suggested.
Note: This only works with you use `--limit` as the firewall
configuration is within `all` group and gets evaluated by hosts that
do not have network_interfaces such as switches. Due to the command
producing a lot of output running the command without a `limit` it not
advisable.
Signed-off-by: Jack Hodgkiss <jack@stackhpc.com>1 parent 7715c23 commit a25efb1
4 files changed
Lines changed: 5 additions & 5 deletions
File tree
- doc/source/configuration
- etc/kayobe/inventory/group_vars
- all
- wazuh-agent
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments