forked from IBM/ansible-power-aix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: schamola <[email protected]>
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
- name: "Demo sysdumpdev" | ||
hosts: aix | ||
gather_facts: false | ||
vars: | ||
primary_dev: "/dev/sysdump0" | ||
secondary_dev: "/dev/sysdumpnull" | ||
copy_dir: "/var/adm/ras" | ||
tasks: | ||
- name: Configure primary and secondary dump devices | ||
ibm.power_aix.sysdumpdev: | ||
primary: "{{ primary_dev }}" | ||
secondary: "{{ secondary_dev }}" | ||
permanent: true | ||
|
||
- name: Configure system dump copy directory and set the forced copy flag to False | ||
ibm.power_aix.sysdumpdev: | ||
copy_directory: "{{ copy_dir }}" | ||
forced_copy_flag: true | ||
|
||
- name: Configure fw-assisted dump with full memory system dump mode | ||
ibm.power_aix.sysdumpdev: | ||
dump_type: fw-assisted | ||
dump_mode: require_full | ||
|
||
- name: Retrieve the current dump configuration | ||
ibm.power_aix.sysdumpdev: | ||
state: fact |