Я борюсь с бродячей ошибкой. Я установил виртуальную коробку версии 6.0.22 и vagrant 2.2.9, также я установил vagrant plugin. Хост-компьютер: Windows
Итак, в основном я клонировал репозиторий и запускал vagrant up, затем команда начинает делать такие вещи, как создание vm, создание mysql, et c .. но затем это выдает мне ошибку.
Это ошибка.
TASK [envalo-roles/nginx : Copy magento2 template include files] ***************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: If you are using a module and expect the file to exist on the remote, see the remote_src option
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Could not find or access 'nginx/conf//magento2'\nSearched in:\n\t/home/vagrant/.ansible/roles/envalo-roles/nginx/files/nginx/conf//magento2\n\t/home/vagrant/.ansible/roles/envalo-roles/nginx/nginx/conf//magento2\n\t/home/vagrant/.ansible/roles/envalo-roles/nginx/tasks/files/nginx/conf//magento2\n\t/home/vagrant/.ansible/roles/envalo-roles/nginx/tasks/nginx/conf//magento2\n\t/vagrant/playbook/files/nginx/conf//magento2\n\t/vagrant/playbook/nginx/conf//magento2 on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}
Я ничего не знаю о коде вагранда, но у меня много плейбуков и бродячих файлов. Я предполагаю, что это руководство, относящееся к задаче, показывающей ошибку.
---
- name: restart nginx
systemd:
name: nginx
state: restarted
- name: restart php-fpm
systemd:
name: php-fpm
state: restarted
- name: restart mysqld
systemd:
name: mysqld
state: restarted
- name: restart varnish
systemd:
name: varnish
state: restarted
when: mage_varnish_enable | bool == true
- name: restart redis
systemd:
name: redis
state: restarted
- name: restart elasticsearch
systemd:
name: elasticsearch
state: restarted
Спасибо! пожалуйста, дайте мне знать, если вам нужно увидеть другой файл, у меня много файлов внутри playbook.