Skip to content

Commit 30cf39b

Browse files
committed
revert
1 parent 591147f commit 30cf39b

File tree

2 files changed

+61
-15
lines changed

2 files changed

+61
-15
lines changed

ansible-navigator.log

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
2025-01-07T17:15:13.305170+00:00 ERROR 'ansible_navigator.actions.images._parse' Unable to extract introspection from stdout
2+
Traceback (most recent call last):
3+
File "/usr/local/lib/python3.11/site-packages/ansible_navigator/actions/images.py", line 537, in _parse
4+
_warnings, json_str = output.split("{", 1)
5+
^^^^^^^^^^^^^^^^^^^
6+
ValueError: not enough values to unpack (expected 2, got 1)
7+
2025-01-07T17:15:13.310143+00:00 ERROR 'ansible_navigator.actions.images._parse' Image introspection failed (parsed), the return value was: Traceback (most recent call last):
8+
File "/Users/sean/.cache/ansible-navigator/image_introspect.py", line 16, in <module>
9+
from typing import TypeAlias
10+
ImportError: cannot import name 'TypeAlias' from 'typing' (/usr/lib64/python3.9/typing.py)
11+
Traceback (most recent call last):
12+
File "/usr/local/lib/python3.11/site-packages/ansible_navigator/actions/images.py", line 537, in _parse
13+
_warnings, json_str = output.split("{", 1)
14+
^^^^^^^^^^^^^^^^^^^
15+
ValueError: not enough values to unpack (expected 2, got 1)
16+
2025-01-07T17:15:31.237618+00:00 ERROR 'ansible_navigator.actions.images._parse' Unable to extract introspection from stdout
17+
Traceback (most recent call last):
18+
File "/usr/local/lib/python3.11/site-packages/ansible_navigator/actions/images.py", line 537, in _parse
19+
_warnings, json_str = output.split("{", 1)
20+
^^^^^^^^^^^^^^^^^^^
21+
ValueError: not enough values to unpack (expected 2, got 1)
22+
2025-01-07T17:15:31.239087+00:00 ERROR 'ansible_navigator.actions.images._parse' Image introspection failed (parsed), the return value was: Traceback (most recent call last):
23+
File "/Users/sean/.cache/ansible-navigator/image_introspect.py", line 16, in <module>
24+
from typing import TypeAlias
25+
ImportError: cannot import name 'TypeAlias' from 'typing' (/usr/lib64/python3.9/typing.py)
26+
Traceback (most recent call last):
27+
File "/usr/local/lib/python3.11/site-packages/ansible_navigator/actions/images.py", line 537, in _parse
28+
_warnings, json_str = output.split("{", 1)
29+
^^^^^^^^^^^^^^^^^^^
30+
ValueError: not enough values to unpack (expected 2, got 1)
31+
2025-01-07T17:17:24.718515+00:00 ERROR 'ansible_navigator.actions.images._parse' Unable to extract introspection from stdout
32+
Traceback (most recent call last):
33+
File "/usr/local/lib/python3.11/site-packages/ansible_navigator/actions/images.py", line 537, in _parse
34+
_warnings, json_str = output.split("{", 1)
35+
^^^^^^^^^^^^^^^^^^^
36+
ValueError: not enough values to unpack (expected 2, got 1)
37+
2025-01-07T17:17:24.722272+00:00 ERROR 'ansible_navigator.actions.images._parse' Image introspection failed (parsed), the return value was: Traceback (most recent call last):
38+
File "/Users/sean/.cache/ansible-navigator/image_introspect.py", line 16, in <module>
39+
from typing import TypeAlias
40+
ImportError: cannot import name 'TypeAlias' from 'typing' (/usr/lib64/python3.9/typing.py)
41+
Traceback (most recent call last):
42+
File "/usr/local/lib/python3.11/site-packages/ansible_navigator/actions/images.py", line 537, in _parse
43+
_warnings, json_str = output.split("{", 1)
44+
^^^^^^^^^^^^^^^^^^^
45+
ValueError: not enough values to unpack (expected 2, got 1)
46+
2025-01-07T17:24:57.087419+00:00 ERROR 'ansible_navigator.actions.images._parse' Unable to extract introspection from stdout
47+
Traceback (most recent call last):
48+
File "/usr/local/lib/python3.11/site-packages/ansible_navigator/actions/images.py", line 537, in _parse
49+
_warnings, json_str = output.split("{", 1)
50+
^^^^^^^^^^^^^^^^^^^
51+
ValueError: not enough values to unpack (expected 2, got 1)
52+
2025-01-07T17:24:57.091932+00:00 ERROR 'ansible_navigator.actions.images._parse' Image introspection failed (parsed), the return value was: Traceback (most recent call last):
53+
File "/Users/sean/.cache/ansible-navigator/image_introspect.py", line 16, in <module>
54+
from typing import TypeAlias
55+
ImportError: cannot import name 'TypeAlias' from 'typing' (/usr/lib64/python3.9/typing.py)
56+
Traceback (most recent call last):
57+
File "/usr/local/lib/python3.11/site-packages/ansible_navigator/actions/images.py", line 537, in _parse
58+
_warnings, json_str = output.split("{", 1)
59+
^^^^^^^^^^^^^^^^^^^
60+
ValueError: not enough values to unpack (expected 2, got 1)

playbooks/network_backup.yml

+1-15
Original file line numberDiff line numberDiff line change
@@ -61,22 +61,8 @@
6161
delegate_to: backup-server
6262
delegate_facts: true
6363

64-
# - name: Create restore job template
65-
# ansible.controller.job_template:
66-
# name: "Network Automation - Restore"
67-
# job_type: "run"
68-
# inventory: "{{ restore_inventory | default('Network Inventory') }}"
69-
# project: "{{ restore_project | default('Network Toolkit') }}"
70-
# playbook: "{{ restores_playbook | default('playbooks/network_restore.yml') }}"
71-
# credential: "{{ restore_credential | default('Network Credential') }}"
72-
# survey_enabled: true
73-
# survey_spec: "{{ lookup('template', '{{ playbook_dir }}/templates/backup.j2') }}"
74-
# validate_certs: false
75-
# execution_environment: "Default execution environment"
76-
# run_once: true
77-
7864
- name: Create restore job template
79-
ansible.platform.job_template:
65+
ansible.controller.job_template:
8066
name: "Network Automation - Restore"
8167
job_type: "run"
8268
inventory: "{{ restore_inventory | default('Network Inventory') }}"

0 commit comments

Comments
 (0)