2 Commits

Author SHA1 Message Date
000110b4bf 1331 2026-01-28 13:31:17 +02:00
76e9cbdf01 0830 2026-01-27 08:30:54 +02:00
2 changed files with 4 additions and 4 deletions

View File

@@ -1175,7 +1175,7 @@
ptsd_migrate_report: "{{ (ptsd_migrate_report | default('')) ~ (', ' if (ptsd_migrate_report | default('')) != '' else '') ~ ('cleanup done') }}" ptsd_migrate_report: "{{ (ptsd_migrate_report | default('')) ~ (', ' if (ptsd_migrate_report | default('')) != '' else '') ~ ('cleanup done') }}"
changed_when: false changed_when: false
- name: PHASE X | Wait 45 seconds after config activation - name: PHASE X | Wait 30 seconds after config activation
hosts: all hosts: all
gather_facts: false gather_facts: false
vars: vars:
@@ -1188,12 +1188,12 @@
control_queue: "{{ lookup('env','CONTROL_QUEUE') | default('queue_controls', true) }}" control_queue: "{{ lookup('env','CONTROL_QUEUE') | default('queue_controls', true) }}"
tasks: tasks:
- ansible.builtin.pause: - ansible.builtin.pause:
seconds: 45 seconds: 30
- name: Report record post activation wait - name: Report record post activation wait
delegate_to: localhost delegate_to: localhost
ansible.builtin.set_fact: ansible.builtin.set_fact:
ptsd_migrate_report: "{{ (ptsd_migrate_report | default('')) ~ (', ' if (ptsd_migrate_report | default('')) != '' else '') ~ ('wait 45s') }}" ptsd_migrate_report: "{{ (ptsd_migrate_report | default('')) ~ (', ' if (ptsd_migrate_report | default('')) != '' else '') ~ ('wait 30s') }}"
changed_when: false changed_when: false
- name: Final migrate cumulative report - name: Final migrate cumulative report

View File

@@ -41,7 +41,7 @@ from urllib3.util.retry import Retry
NB_URL = "http://netbox.gt-tiso.ikeja.co.za" NB_URL = "http://netbox.gt-tiso.ikeja.co.za"
NB_TOKEN = "7648e4f5ee370cda7834682e61b47c2ee8e95623" NB_TOKEN = "7648e4f5ee370cda7834682e61b47c2ee8e95623"
CLOUD_API_BASE = "https://cloud.ikeja.co.za/v1/devices" CLOUD_API_BASE = "https://cloud.ikeja.co.za/v1/devices"
CLOUD_BEARER = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InBhdmVsLmxAOGRldmljZXMuY29tIiwic3ViIjoyMiwiaWF0IjoxNzY2OTk3ODQ2LCJleHAiOjE3Njk1ODk4NDZ9.aBuEOQOC6i5jX6Ixwb3gabzV4uIeYJdbpJodxQy1DkE" CLOUD_BEARER = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InBhdmVsLmxAOGRldmljZXMuY29tIiwic3ViIjoyMiwiaWF0IjoxNzY5MDA5NDU0LCJleHAiOjE3NzE2MDE0NTR9.2oovrovOmWq_Ht2s7F2ldXm-vZcxAkqWg6Mra9LUadE"
REQ_TIMEOUT = 30 REQ_TIMEOUT = 30
CHATTY = False CHATTY = False