Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,35 @@ An ansible role which configures kdump.
## Role Variables

**dump_target**: Can be specified to write vmcore to a location that is not in
the root file system. If `kind` is `raw` or a filesystem type, location points
the root file system. If `type` is `raw` or a filesystem type, location points
to a partition (by device node name, label, or uuid). For example:

```yaml
dump_target:
kind: raw
type: raw
location: /dev/sda1
```

or for an `ext4` filesystem:

```yaml
dump_target:
kind: ext4
type: ext4
location: "12e3e25f-534e-4007-a40c-e7e080a933ad"
```

If `kind` is `ssh`, location points to a server:
If `type` is `ssh`, location points to a server:
example:

```yaml
kind: ssh
type: ssh
location: user@example.com
```

Similarly for `nfs`, `location` points to an nfs server:

```yaml
kind: nfs
type: nfs
location: nfs.example.com
```

Expand Down
2 changes: 1 addition & 1 deletion templates/kdump.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Last modified: {{ ansible_date_time.date }} {{ ansible_date_time.time }}

{% if dump_target %}
{{ dump_target.kind }} {{ dump_target.location }}
{{ dump_target.type }} {{ dump_target.location }}
{% endif %}
path {{ path }}
{% if core_collector %}
Expand Down