Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
tests: fix docker container hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
duck-rh committed Jul 10, 2020
1 parent dcd4cd0 commit 2c6955e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion molecule/_resources/create-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
cert_path: "{{ item.cert_path | default((lookup('env', 'DOCKER_CERT_PATH') + '/cert.pem') if lookup('env', 'DOCKER_CERT_PATH') else omit) }}"
key_path: "{{ item.key_path | default((lookup('env', 'DOCKER_CERT_PATH') + '/key.pem') if lookup('env', 'DOCKER_CERT_PATH') else omit) }}"
tls_verify: "{{ item.tls_verify | default(lookup('env', 'DOCKER_TLS_VERIFY')) or false }}"
hostname: "{{ item.hostname | default(item.name) }}"
hostname: "{{ item.hostname | default(item.name) | replace('@NAME@', item.name) }}"
image: "{{ item.pre_build_image | default(false) | ternary('', 'molecule_local/') }}{{ item.image }}"
pull: "{{ item.pull | default (omit) }}"
memory: "{{ item.memory | default(omit) }}"
Expand Down

0 comments on commit 2c6955e

Please sign in to comment.