Skip to content

Commit

Permalink
test: unify, molecule 1.21 travis
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Mar 16, 2017
1 parent cf2f8ac commit 0ac4613
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ test:
tags:
- vagrant
script:
- molecule --debug test
- molecule test
6 changes: 3 additions & 3 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ galaxy_info:
platforms:
- name: Ubuntu
versions:
- all
categories:
- trusty
- xenial
galaxy_tags:
- system

dependencies: []
16 changes: 1 addition & 15 deletions molecule.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,16 @@
---
dependency:
name: galaxy

# cannot test with docker
# cannot test with docker: /etc/hosts not writable
driver:
name: vagrant
vagrant:
platforms:
- name: xenial64
box: bento/ubuntu-16.04
ansible_groups:
- group1
providers:
- name: virtualbox
type: virtualbox
options:
memory: 512
cpus: 2
instances:
- name: vagrant-01
ansible_groups:
- group_1
interfaces:
- network_name: private_network
type: dhcp
auto_config: true

ansible:
playbook: tests/playbook.yml
Expand Down
2 changes: 1 addition & 1 deletion tests/playbook.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
- hosts: all
roles:
- ""
- ansible-role-hostname

0 comments on commit 0ac4613

Please sign in to comment.