test_x
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2019-02-27 14:06:42 +01:00
parent fd374181b2
commit 083282b117
2 changed files with 3 additions and 1 deletions

View File

@ -33,6 +33,8 @@ steps:
from_secret: gce_project_id
GCE_CREDENTIALS_JSON:
from_secret: gce_credentials_json
GCE_SSH_USER:
from_secret: gce_ssh_user
GCE_CREDENTIALS_FILE: $HOME/ansible-testing.json
commands:
- mkdir $HOME/.ssh

View File

@ -6,7 +6,7 @@
#no_log: "{{ not (lookup('env', 'MOLECULE_DEBUG') | bool or molecule_yml.provisioner.log|default(false) | bool) }}"
vars:
ssh_port: 22
ssh_user: "{{ lookup('env', 'USER') }}"
ssh_user: "{{ lookup('env', 'GCE_SSH_USER') }}"
ssh_identity_file: "{{ lookup('env', 'HOME') }}/.ssh/google_compute_engine"
tasks:
- name: Create molecule instance(s)