From 7a381724392d52d1a2f65e805d23a089a43c62b8 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 12 May 2019 03:17:12 +0200 Subject: [PATCH] add ansible env vars --- .drone.yml | 2 ++ molecule/ec2-centos-7/molecule.yml | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 312287b..84d947d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -59,6 +59,8 @@ steps: - molecule verify --scenario-name ec2-centos-7 - molecule destroy --scenario-name ec2-centos-7 environment: + ANSIBLE_ROLES_PATH: /drone/src + ANSIBLE_LIBRARY: /library AWS_ACCESS_KEY_ID: from_secret: aws_access_key_id AWS_REGION: eu-central-1 diff --git a/molecule/ec2-centos-7/molecule.yml b/molecule/ec2-centos-7/molecule.yml index 0ae1285..3cf9083 100644 --- a/molecule/ec2-centos-7/molecule.yml +++ b/molecule/ec2-centos-7/molecule.yml @@ -10,10 +10,6 @@ platforms: vpc_subnet_id: subnet-9b6896f1 provisioner: name: ansible - config_options: - defaults: - roles_path: /drone/src - library: /library lint: name: ansible-lint verifier: