first commit

This commit is contained in:
root
2024-07-12 12:58:40 +02:00
commit 30fdad3be5
557 changed files with 11142 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
---
# tasks file for aruba_get-boot-info
- name: Execute show ntp on the switch
arubaoss_command:
commands: ['show ntp status']
register: ntp
- name: set facts for boot images
ansible.builtin.set_fact:
ntp_status: "{{ ((((ntp.stdout_lines[0][3]) | split(':'))[1]) | split(' '))[1] }}"
- name: show primary boot image version
debug:
var: ntp_status