Skip to content

Commit

Permalink
Fix hostname changing (#3)
Browse files Browse the repository at this point in the history
* Fix hostname changing

* Update AVM

* Fix Ubuntu Xenial container

* Fix AVM env vars

* Update ansible-setup.sh script

* Remove .kitchen directory

* Rollback tasks

* Add .gitignore

* Add python to xenial

* Move hostname task after /etc/hosts modification

* Remove old tests

* Rename tests

* Disable retry files creation
  • Loading branch information
antonu17 authored and ahelal committed Sep 22, 2017
1 parent eafe632 commit 6abf835
Show file tree
Hide file tree
Showing 28 changed files with 71 additions and 263 deletions.
42 changes: 42 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
################ GIT Ignore ################

## Ansible experimental and testing stuff
plays-test
plays-experimental/*
roles/experimental/*
local.ini
packer.ini

## Ansible temp files
*.retry
.galaxy_install_info

## Sensetive data
.vpass
.vpass*
vpass
vpass*

## IDE stuff
.idea

## python stuff
*.pyc

## Ruby stuff
bundler_gems
.bundle

## Node stuff
node_modules/

## Kitchen stuff
tests/*/.kitchen/
tests_run
.kitchen

## Vagrant stuff
.vagrant

## Mac stuff
.DS_Store
15 changes: 6 additions & 9 deletions .kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ driver :
socket : unix:///var/run/docker.sock
use_sudo : false
privileged : true
require_chef_omnibus : false

provisioner:
name : ansible_push
Expand All @@ -26,22 +27,18 @@ platforms:

- name : ubuntu1604
driver_config :
image : ubuntu:trusty
image : ubuntu:xenial
platform : ubuntu
provision_command:
- apt-get install -y python-minimal

- name : centos7
driver_config :
image : centos:7
platform : centos

suites :
# - name : simple1
# provisioner :
# playbook : "test/integration/simple1/simple1.yml"
# ansible_playbook_bin: "$(avm path v2.0)ansible-playbook"

- name : simple2
- name : simple-tests
provisioner :
playbook : "test/integration/simple2/simple2.yml"
playbook : "test/integration/simple-tests/play.yml"
ansible_playbook_bin: "$(avm path v2.2)ansible-playbook"

5 changes: 0 additions & 5 deletions .kitchen/ansiblepush/ansiblepush_host_centos7.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .kitchen/ansiblepush/ansiblepush_host_ubuntu1404.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .kitchen/ansiblepush/ansiblepush_host_ubuntu1604.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .kitchen/docker_id_rsa

This file was deleted.

1 change: 0 additions & 1 deletion .kitchen/docker_id_rsa.pub

This file was deleted.

6 changes: 0 additions & 6 deletions .kitchen/logs/ansibleV20-ubuntu1404.log

This file was deleted.

7 changes: 0 additions & 7 deletions .kitchen/logs/ansibleV20-ubuntu1604.log

This file was deleted.

6 changes: 0 additions & 6 deletions .kitchen/logs/ansibleV22-ubuntu1404.log

This file was deleted.

7 changes: 0 additions & 7 deletions .kitchen/logs/ansibleV22-ubuntu1604.log

This file was deleted.

Empty file removed .kitchen/logs/kitchen.log
Empty file.
58 changes: 0 additions & 58 deletions .kitchen/logs/simple1-ubuntu1404.log

This file was deleted.

Loading

0 comments on commit 6abf835

Please sign in to comment.