Skip to content
This repository was archived by the owner on Jun 1, 2021. It is now read-only.
This repository was archived by the owner on Jun 1, 2021. It is now read-only.

ansible role parsing issue #78

@AniketKul

Description

@AniketKul

Describe the bug
When you specify ansible role(s) under build template, we get ansible template parsing error.

Expected Syntax for specifying ansible specs in Build stage:

- ansible:
     local:
       # optional
        requirements: path-to-requirements.yaml
        playbook: path-to-playbook.yaml
     galaxy:
        name: name-of-the_role

Expected behavior
should parse ansible roles correctly

Screenshot

Generated Dockerfile:

Screen Shot 2019-11-29 at 10 48 03 AM

Step 5/13 : EXPOSE 8888ENV PLAYBOOK_DIR /etc/ansible/
ERRO[2019-11-07 20:02:55] failed to get JSON stream                     error="No port specified: /etc/ansible/<empty>"
Error: No port specified: /etc/ansible/<empty>
ERRO[2019-11-07 20:02:55] error in executing ocictl root command...     error="No port specified: /etc/ansible/<empty>"

Metadata

Metadata

Assignees

Labels

PRIORITY: 1Picked up and resolved in the current sprintbugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions