test_x
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-02-27 16:18:08 +01:00
parent 9a668be4b3
commit afbfc65c78

View File

@ -36,14 +36,16 @@ steps:
GCE_SSH_USER:
from_secret: gce_ssh_user
GCE_CREDENTIALS_FILE: $HOME/ansible-testing.json
DEFAULT_TIMEOUT: 60
ANSIBLE_TIMEOUT: 60
commands:
- mkdir $HOME/.ssh
- echo "$GCE_SSH_KEY" > $HOME/.ssh/google_compute_engine
- chmod 600 $HOME/.ssh/google_compute_engine
- echo "$GCE_CREDENTIALS_JSON" > $HOME/ansible-testing.json
- pip install apache-libcloud pycrypto --user
- molecule create --scenario-name gce-centos-7
- molecule converge --scenario-name gce-centos-7
- molecule verify --scenario-name gce-centos-7
- molecule destroy --scenario-name gce-centos-7
- pwd
- ls -la
# - mkdir $HOME/.ssh
# - echo "$GCE_SSH_KEY" > $HOME/.ssh/google_compute_engine
# - chmod 600 $HOME/.ssh/google_compute_engine
# - echo "$GCE_CREDENTIALS_JSON" > $HOME/ansible-testing.json
# - pip install apache-libcloud pycrypto --user
# - molecule create --scenario-name gce-centos-7
# - molecule converge --scenario-name gce-centos-7
# - molecule verify --scenario-name gce-centos-7
# - molecule destroy --scenario-name gce-centos-7