Skip to content

Commit

Permalink
test: molecule 3
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed May 1, 2020
1 parent 07d0ba6 commit 5776960
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 79 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Build Status](https://travis-ci.org/viasite-ansible/ansible-role-server-scripts.svg?branch=master)](https://travis-ci.org/viasite-ansible/ansible-role-server-scripts)

Install [viasite/server-scripts](https://github.com/popstas/server-scripts).
Install [viasite/server-scripts](https://github.com/viasite/server-scripts).

## Required variables:
- server_scripts_mailto
Expand Down
5 changes: 3 additions & 2 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ galaxy_info:
company: Viasite
description: Install viasite/server-scripts
license: MIT
min_ansible_version: 1.8
min_ansible_version: 2.8
platforms:
- name: Ubuntu
versions:
- trusty
- xenial
- bionic
- focal
galaxy_tags:
- system
- drupal
Expand Down
7 changes: 0 additions & 7 deletions molecule/default/Dockerfile.j2

This file was deleted.

File renamed without changes.
47 changes: 0 additions & 47 deletions molecule/default/create.yml

This file was deleted.

16 changes: 0 additions & 16 deletions molecule/default/destroy.yml

This file was deleted.

14 changes: 8 additions & 6 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ driver:
name: docker
platforms:
- name: ansible-role-server-scripts-1604
image: ubuntu:16.04
image: geerlingguy/docker-ubuntu1604-ansible
pre_build_image: true

- name: ansible-role-server-scripts-centos-7
image: centos:7
- name: ansible-role-server-scripts-2004
image: geerlingguy/docker-ubuntu2004-ansible
pre_build_image: true

lint:
name: yamllint
enabled: False
# - name: ansible-role-server-scripts-centos-7
# image: geerlingguy/docker-centos7-ansible
# pre_build_image: true

provisioner:
name: ansible
4 changes: 4 additions & 0 deletions molecule/default/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@
content: "Acquire::http::Proxy \"{{ lookup('env', 'APT_PROXY') }}\"; Acquire::https::Proxy \"false\";"
dest: /etc/apt/apt.conf.d/01proxy
failed_when: False
- name: Update apt cache
apt:
update_cache: yes
cache_valid_time: 86400

0 comments on commit 5776960

Please sign in to comment.