Skip to content
This repository was archived by the owner on Apr 7, 2025. It is now read-only.

Commit cd00e2c

Browse files
authored
add more ansible test (#49)
* add more ansible test * fix python 2 issue and upgrade some dep
1 parent deea8ec commit cd00e2c

File tree

6 files changed

+20
-4
lines changed

6 files changed

+20
-4
lines changed

.kitchen.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ platforms:
3939
provisioner :
4040
ansible_playbook_bin: "`avm path v2.4`ansible-playbook"
4141

42+
- name : "ubuntuV25"
43+
provisioner :
44+
ansible_playbook_bin: "`avm path v2.5`ansible-playbook"
45+
4246
suites :
4347
- name : simpleNoChef
4448
provisioner :

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
kitchen-ansiblepush (0.8.0)
4+
kitchen-ansiblepush (0.9.1)
55
test-kitchen (~> 1.4)
66

77
GEM
@@ -91,4 +91,4 @@ DEPENDENCIES
9191
test-kitchen
9292

9393
BUNDLED WITH
94-
1.13.6
94+
1.16.0

callback/changes.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
from __future__ import (absolute_import, division, print_function)
2+
__metaclass__ = type
3+
14
import os
25
import errno
36
import json as js

lib/kitchen-ansible/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Kitchen
22
module AnsiblePush
3-
VERSION = '0.8.0'.freeze
3+
VERSION = '0.9.1'.freeze
44
end
55
end

test/ansible-setup.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,14 @@ export ANSIBLE_VERSIONS_4="2.3.2.0"
2424
export INSTALL_TYPE_4="pip"
2525
export ANSIBLE_LABEL_4="v2.3"
2626

27-
export ANSIBLE_VERSIONS_5="2.4.0.0"
27+
export ANSIBLE_VERSIONS_5="2.4.2.0"
2828
export INSTALL_TYPE_5="pip"
2929
export ANSIBLE_LABEL_5="v2.4"
3030

31+
export ANSIBLE_VERSIONS_6="2.5.0"
32+
export INSTALL_TYPE_6="pip"
33+
export ANSIBLE_LABEL_6="v2.5"
34+
3135
# Whats the default version
3236
export ANSIBLE_DEFAULT_VERSION="v1.9"
3337

test/application/simple.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,8 @@
88
copy:
99
content="{{ inventory_hostname }}"
1010
dest="/var/{{ inventory_hostname }}-test.txt"
11+
12+
- name: Run ls
13+
command: ls
14+
become: False
15+
changed_when: false

0 commit comments

Comments
 (0)