Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ansible / cisco / intersight / playbooks / intersight_boot_order_policy.yml
Size: Mime:
---
# Example Playbook: cisco.intersight.intersight_boot_order_policy
# Runs on localhost since policies are only configured once
# Author: Tse Kai "Kevin" Chan (@BrightScale)
- hosts: localhost
  connection: local
  collections:
    - cisco.intersight
  gather_facts: false
  vars:
    # Create an anchor for api_info that can be used throughout the file
    api_info: &api_info
      api_private_key: "{{ api_private_key }}"
      api_key_id: "{{ api_key_id }}"
      api_uri: "{{ api_uri | default(omit) }}"
  tasks:
    - name: Configure Boot Order Policy
      intersight_boot_order_policy:
        <<: *api_info
        organization: "{{ organization | default(omit) }}"
        name: COS-Boot
        description: Boot Order policy for lab use
        tags:
          - Key: Site
            Value: RCDN
        configured_boot_mode: Legacy
        boot_devices:
          - device_type: Local Disk
            device_name: Boot-Lun
            controller_slot: MRAID
          - device_type: Virtual Media
            device_name: vmedia