Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playbook vm_create_existingvnet_deployjavaapp.yml fails to complete (two tasks fail) #82

Open
robcamer opened this issue Mar 2, 2020 · 3 comments

Comments

@robcamer
Copy link

robcamer commented Mar 2, 2020

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

  1. Configure Ansible on macos, Linux, or cloudshell. (I tested macos and cloud shell)
  2. Run vm_create_existingvnet_deployjavaapp.yml with ansible-playbook
  3. FAILURE add 2 examples and update readme #1 at task "name: wait for the WinRM port to come online" with a time out
  4. Comment out task "name: wait for the WinRM port to come online" to try to continue (cause the ip is present)
  5. Fails at task "name: build sample app" with below error.
    TASK [build sample app] *************************************************************************************************
    fatal: [localhost]: FAILED! => {"changed": true, "cmd": "mvn package", "delta": "0:00:00.007666", "end": "2020-03-01 22:50:05.508385", "msg": "non-zero return code", "rc": 127, "start": "2020-03-01 22:50:05.500719", "stderr": "/bin/sh: mvn: command not found", "stderr_lines": ["/bin/sh: mvn: command not found"], "stdout": "", "stdout_lines": []}

Any log messages given by the failure

Expected/desired behavior

Playbook vm_create_existingvnet_deployjavaapp.yml runs without errors.

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
macos Catalina, and Cloud Shell

Versions

Ansible 2.9.5 (latest)

Mention any other details that might be useful


Thanks! We'll be in touch soon.

@Fred-sun
Copy link
Contributor

Fred-sun commented Mar 3, 2020

@robcamer Thanks for your take the time to report this issue! I also encountered the problem you mentioned above. We will invetesting into this! Thank you very much!

@Fred-sun
Copy link
Contributor

Fred-sun commented Mar 9, 2020

@haiyuazhang This should be related to the VM created, but I still know what caused it. I am looking for it. Thank you!

@Fred-sun
Copy link
Contributor

@robcamer Thank you very much for your interest in Ansible. This repo is no longer maintained in this repository and has been migrated to https://github.com/ansible-collections/azure
Please re-submit this issue in the above repository and closed this. Thank you very much!

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

No branches or pull requests

2 participants