Server IP : 85.214.239.14 / Your IP : 3.16.203.9 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/3/root/lib/python3/dist-packages/ansible_collections/cisco/intersight/playbooks/ |
Upload File : |
--- # 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 # if api_key vars are omitted, INTERSIGHT_API_KEY_ID, INTERSIGHT_API_PRIVATE_KEY, # and INTERSIGHT_API_URI environment variables used for API key data api_private_key: "{{ api_private_key | default(omit) }}" api_key_id: "{{ api_key_id | default(omit) }}" api_uri: "{{ api_uri | default(omit) }}" validate_certs: "{{ validate_certs | default(omit) }}" state: "{{ state | default('present') }}" # Organization name org_name: dsoper-DevNet tasks: - name: Configure Boot Order Policy with PXE intersight_boot_order_policy: <<: *api_info organization: "{{ org_name }}" name: PXE-Boot description: Boot Order policy with PXE for lab use tags: - Key: Site Value: RCDN configured_boot_mode: Legacy boot_devices: - device_type: PXE device_name: LAN1 enabled: true port: -1 network_slot: 1 interface_source: port ip_type: IPv4