Copied from the environment repository's roles and scrubbed for the Collection: galaxy namespace mortis, molecule scenarios call the roles by their FQCN and take their paths from the workflow, README examples use mortis.kamino.* and documentation addresses, repository-local references (issue numbers, ADRs, inventory paths) are dropped. network_interfaces loses its Legacy name guard and the molecule play that tested it: the guard only protected the in-repo rename, and a new consumer never had the old names. mock_roles in .ansible-lint lists both FQCNs. Not verified locally: the molecule scenarios (they run on the kamino-molecule runner in CI) and ansible-test sanity. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
14 lines
386 B
YAML
14 lines
386 B
YAML
---
|
|
- name: Restore previous interfaces configuration
|
|
ansible.builtin.copy:
|
|
src: "{{ network_interfaces_backup }}"
|
|
dest: "{{ network_interfaces_file }}"
|
|
remote_src: true
|
|
owner: root
|
|
group: root
|
|
mode: "0644"
|
|
|
|
- name: Abort due to invalid network configuration
|
|
ansible.builtin.fail:
|
|
msg: "Invalid network configuration detected. Previous config restored."
|