From 00771b294a0864f7555730ea9768f3935863f352 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 28 Feb 2019 08:43:50 +0100 Subject: [PATCH] test local modules --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 28fc67b..62b09f8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -42,16 +42,16 @@ steps: GCE_CREDENTIALS_FILE: $HOME/ansible-testing.json ANSIBLE_TIMEOUT: 60 ANSIBLE_ROLES_PATH: /drone/src - ANSIBLE_LIBRARY: $HOME/custom_modules commands: - - git clone https://gitea.rknet.org/ansible/custom_modules $HOME/custom_modules + - mkdir -p $HOME/.ansible/plugins/modules/ + - git clone https://gitea.rknet.org/ansible/custom_modules $HOME/.ansible/plugins/modules/ + - ansible-doc -t module iptables_raw - 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 - - ansible --version - molecule converge --scenario-name gce-centos-7 - molecule verify --scenario-name gce-centos-7 - molecule destroy --scenario-name gce-centos-7