Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.
This repository was archived by the owner on Nov 11, 2024. It is now read-only.

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

Description

@robcamer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions