From f751bba14c23e6299b727fdf589696ebd65906c3 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 19 May 2019 22:11:31 +0200 Subject: [PATCH] setup epel repo and python3 before hassio --- .drone.jsonnet | 1 - .drone.yml | 5 ++++- molecule/ec2-centos-7/playbook.yml | 11 +++++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 57e3fe4..bca6ffe 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -58,7 +58,6 @@ local PipelineDeployment = { }, commands: [ "/bin/bash /docker-entrypoint.sh", - "ansible-galaxy install --force -r requirements.yml -p /drone/src", "molecule create --scenario-name ec2-centos-7", "molecule converge --scenario-name ec2-centos-7", "molecule verify --scenario-name ec2-centos-7", diff --git a/.drone.yml b/.drone.yml index fad15e4..8a9229e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -55,7 +55,6 @@ steps: image: xoxys/molecule:ec2-linux-amd64 commands: - /bin/bash /docker-entrypoint.sh - - ansible-galaxy install --force -r requirements.yml -p /drone/src - molecule create --scenario-name ec2-centos-7 - molecule converge --scenario-name ec2-centos-7 - molecule verify --scenario-name ec2-centos-7 @@ -113,4 +112,8 @@ trigger: depends_on: - deployment +--- +kind: signature +hmac: 783f71df67e198eaeb4d2cd5597aead72c16909c965e54ed7eac8114b322e3c8 + ... diff --git a/molecule/ec2-centos-7/playbook.yml b/molecule/ec2-centos-7/playbook.yml index c1063df..58ff97d 100644 --- a/molecule/ec2-centos-7/playbook.yml +++ b/molecule/ec2-centos-7/playbook.yml @@ -1,6 +1,17 @@ --- - name: Converge hosts: all + vars: + yum_cron_custom_cronjob: False + yum_repositories: + epel: + filename: Extra-EPEL + desc: Extra Packages for Enterprise Linux (EPEL) + baseurl: "http://download.fedoraproject.org/pub/epel/$releasever/$basearch/" + gpgkey: "http://download.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-$releasever/" + enabled: True + roles: + - role: xoxys.yum - role: xoxys.python3 - role: xoxys.homeassistant