Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

ERROR! the role 'infrastructure/ptp/controlplane' was not found in /opt/seo/playbooks/roles:/opt/seo/roles:/opt/seo/roles/baseline_ansible:/opt/seo/playbooks #13

Open
adh8885 opened this issue Sep 22, 2022 · 1 comment

Comments

@adh8885
Copy link

adh8885 commented Sep 22, 2022

Deploy smart edge open will encounter problem. Please check. Thanks.

Smart Edge Open Deployment Status: in progress

[email protected]'s password:
Welcome to Ubuntu 20.04.5 LTS (GNU/Linux 5.4.0-126-generic x86_64)

Last login: Thu Sep 22 09:15:28 2022 from 10.240.120.68
(failed reverse-i-search)`vim ': ^C /opt/seo/logs/smart_edge_open_multi_node_dek_2022-09-22_09-02-05_network_edge.yml.log
smartedge-open@ubuntu-fa904b5255:$ vim /opt/seo/playbooks/infrastructure.yml
smartedge-open@ubuntu-fa904b5255:
$ cat /opt/seo/logs/smart_edge_open_multi_node_dek_2022-09-22_09-02-05_network_edge.yml.log
ansible-playbook 2.9.27
config file = /opt/seo/ansible.cfg
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /root/.local/share/virtualenvs/seo-EEf3hlkd/lib/python3.8/site-packages/ansible
executable location = /root/.local/share/virtualenvs/seo-EEf3hlkd/bin/ansible-playbook
python version = 3.8.10 (default, Jun 22 2022, 20:18:18) [GCC 9.4.0]
Using /opt/seo/ansible.cfg as config file
statically imported: /opt/seo/tasks/reboot_server.yml
ERROR! the role 'infrastructure/ptp/controlplane' was not found in /opt/seo/playbooks/roles:/opt/seo/roles:/opt/seo/roles/baseline_ansible:/opt/seo/playbooks

The error appears to be in '/opt/seo/playbooks/infrastructure.yml': line 59, column 7, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

roles:
- role: infrastructure/ptp/controlplane
^ here

@adh8885
Copy link
Author

adh8885 commented Sep 22, 2022

Multi node scenario, there is no folder "ptp" in /opt/seo/roles/infrastructure. The customer.yml as below:
custom.txt

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant