35e6b139fc
ci / validate (push) Failing after 1m8s
Rework portfolio around Linux operations, Zabbix monitoring, migration validation, and ELK/Grafana log observability. Add AAP-style LVM resize workflow, Zabbix server/proxy/agent automation assets, Linux/AIX monitoring templates, and updated validation CI.
35 lines
986 B
YAML
35 lines
986 B
YAML
---
|
|
- name: Decommission Enterprise Infrastructure Nodes
|
|
hosts: all
|
|
become: true
|
|
gather_facts: true
|
|
|
|
pre_tasks:
|
|
- name: Confirm decommissioning
|
|
ansible.builtin.pause:
|
|
prompt: |
|
|
WARNING: This will decommission {{ inventory_hostname }}
|
|
Backup Data: {{ backup_data }}
|
|
Export Config: {{ export_config }}
|
|
|
|
Press ENTER to continue or Ctrl+C to cancel
|
|
|
|
- name: Display decommissioning information
|
|
ansible.builtin.debug:
|
|
msg: |
|
|
Decommissioning {{ inventory_hostname }}
|
|
Auto Shutdown: {{ auto_shutdown }}
|
|
Backup Enabled: {{ backup_data }}
|
|
|
|
roles:
|
|
- role: decommission
|
|
tags: ['decommission', 'cleanup']
|
|
|
|
post_tasks:
|
|
- name: Display decommissioning summary
|
|
ansible.builtin.debug:
|
|
msg: |
|
|
Decommissioning completed!
|
|
Host: {{ inventory_hostname }}
|
|
Backup Location: /var/backups/decommission-{{ ansible_date_time.iso8601 }}/
|