nginxinc / NGINX-Demos

NGINX and NGINX Plus demos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aws-lb demo doesn't update the certs

magicalyak opened this issue · comments

Error occurs using the aws-nlb demo. No matter where the certs are they don't copy or aren't found. The step that copies them seems fine

ie
==> ngx-plus: Uploading /Users/tgamull/.ssh/ngx-certs => ~/.ssh/certs

Then the error

ngx-plus: TASK [nginxinc.nginx : (All OSs) Copy NGINX Plus Certificate and License Key] ***
ngx-plus: 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
ngx-plus: failed: [127.0.0.1] (item=license/nginx-repo.crt) => {"changed": false, "item": "license/nginx-repo.crt", "msg": "Could not find or access 'license/nginx-repo.crt'\nSearched in:\n\t/tmp/packer-provisioner-ansible-local/5c6dbc5b-e3b9-8467-4a10-31349bf300e4/roles/nginxinc.nginx/files/license/nginx-repo.crt\n\t/tmp/packer-provisioner-ansible-local/5c6dbc5b-e3b9-8467-4a10-31349bf300e4/roles/nginxinc.nginx/license/nginx-repo.crt\n\t/tmp/packer-provisioner-ansible-local/5c6dbc5b-e3b9-8467-4a10-31349bf300e4/roles/nginxinc.nginx/tasks/plus/files/license/nginx-repo.crt\n\t/tmp/packer-provisioner-ansible-local/5c6dbc5b-e3b9-8467-4a10-31349bf300e4/roles/nginxinc.nginx/tasks/plus/license/nginx-repo.crt\n\t/tmp/packer-provisioner-ansible-local/5c6dbc5b-e3b9-8467-4a10-31349bf300e4/files/license/nginx-repo.crt\n\t/tmp/packer-provisioner-ansible-local/5c6dbc5b-e3b9-8467-4a10-31349bf300e4/license/nginx-repo.crt on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}
ngx-plus: 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
ngx-plus: failed: [127.0.0.1] (item=license/nginx-repo.key) => {"changed": false, "item": "license/nginx-repo.key", "msg": "Could not find or access 'license/nginx-repo.key'\nSearched in:\n\t/tmp/packer-provisioner-ansible-local/5c6dbc5b-e3b9-8467-4a10-31349bf300e4/roles/nginxinc.nginx/files/license/nginx-repo.key\n\t/tmp/packer-provisioner-ansible-local/5c6dbc5b-e3b9-8467-4a10-31349bf300e4/roles/nginxinc.nginx/license/nginx-repo.key\n\t/tmp/packer-provisioner-ansible-local/5c6dbc5b-e3b9-8467-4a10-31349bf300e4/roles/nginxinc.nginx/tasks/plus/files/license/nginx-repo.key\n\t/tmp/packer-provisioner-ansible-local/5c6dbc5b-e3b9-8467-4a10-31349bf300e4/roles/nginxinc.nginx/tasks/plus/license/nginx-repo.key\n\t/tmp/packer-provisioner-ansible-local/5c6dbc5b-e3b9-8467-4a10-31349bf300e4/files/license/nginx-repo.key\n\t/tmp/packer-provisioner-ansible-local/5c6dbc5b-e3b9-8467-4a10-31349bf300e4/license/nginx-repo.key on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}