Skip to content

Instantly share code, notes, and snippets.

@robinsg
Created November 3, 2020 11:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robinsg/407d19667a1f40ac8cb24a4833a7ca92 to your computer and use it in GitHub Desktop.
Save robinsg/407d19667a1f40ac8cb24a4833a7ca92 to your computer and use it in GitHub Desktop.
---
name: Ensure device is varied on
hosts: all
gather_facts: no
collections:
- ibm.power_ibmi
tasks:
- name: Vary on device
ibmi_device_vary:
device_list:
- 'OPT01' < - - - - - - Change this to a valid device on your LPAR
status: '*ON'
joblog: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment