ansible / awx-resource-operator

41 stars 34 forks source link

release-0.1 ONLY use localost for running the ansible-runner #31

Closed mikeshng closed 4 years ago

mikeshng commented 4 years ago

Signed-off-by: Mike Ng ming@redhat.com

The COPY command wasn't able to create the hosts file under /runner/inventory.

Since the ansible-runner is always exec in the container with the context of localhost, pass in the --hosts localhost as part of the param instead of relying of a static hosts file that contains the content localhost