diff --git a/.drone.yml b/.drone.yml index b305d65..8f29432 100644 --- a/.drone.yml +++ b/.drone.yml @@ -25,6 +25,11 @@ steps: # - git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini # depends_on: [ clone ] + - name: dependencies + image: docker:git + commands: + - git clone https://gitea.rknet.org/ansible/custom_modules + - name: molecule image: quay.io/ansible/molecule pull: always @@ -44,7 +49,6 @@ steps: ANSIBLE_ROLES_PATH: /drone/src ANSIBLE_LIBRARY: /drone/src/custom_modules commands: - - git clone https://gitea.rknet.org/ansible/custom_modules - mkdir $HOME/.ssh - echo "$GCE_SSH_KEY" > $HOME/.ssh/google_compute_engine - chmod 600 $HOME/.ssh/google_compute_engine