The following error is seen while trying to run the Spectrum upgrade automation preflight command:
ansible-playbook -vvv -i inventory.remote services/netops-spectrum.yml --tags preflight
ERROR! the role 'spectrum' was not found in /opt/netops-deployment-tools-package RELEASE/services/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/opt/netops-deployment-tools-package RELEASE/services
The error appears to be in '/opt/netops-deployment-tools-package-RELEASE/services/netops-spectrum.yml': line 22, column 15, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
ansible.builtin.import_role:
name: spectrum
^ here
DX NetOps Spectrum Upgrade Automation
selinux is enabled on the system.
Exit the container.
Disable selinux on the upgrade automation system.
Run ./run-container.sh
Navigate to the /opt/netops-deployment-tools/package-Release directory.
Run the preflight command again:
ansible-playbook -vvv -i inventory.remote services/netops-spectrum.yml --tags preflight