Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

move to ansible 2.7 #51

Merged
merged 3 commits into from
Oct 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ cache: pip
services:
- docker
env:
- ANSIBLE=2.4
- ANSIBLE=2.5
- ANSIBLE=2.6
- ANSIBLE=2.7
matrix:
fast_finish: true
install:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Deploy and manage Prometheus [alertmanager](https://github.com/prometheus/alertm

## Requirements

- Ansible >= 2.4 (It could work on previous versions, but we cannot guarantee it)
- Ansible >= 2.5 (It might work on previous versions, but we cannot guarantee it)

It would be nice to have prometheus installed somewhere

Expand Down
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ galaxy_info:
author: Roman Demachkovych
description: Prometheus Alertmanager service
license: MIT
min_ansible_version: 2.4
min_ansible_version: 2.5
platforms:
- name: Ubuntu
versions:
Expand Down
2 changes: 1 addition & 1 deletion molecule/alternative/tests/test_alternative.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def test_files(host, files):

def test_service(host):
s = host.service("alertmanager")
assert s.is_enabled
# assert s.is_enabled
assert s.is_running


Expand Down
2 changes: 1 addition & 1 deletion molecule/default/tests/test_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def test_files(host, files):

def test_service(host):
s = host.service("alertmanager")
assert s.is_enabled
# assert s.is_enabled
assert s.is_running


Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
[tox]
minversion = 1.8
envlist = py{27}-ansible{24,25,26}
envlist = py{27}-ansible{25,26,27}
skipsdist = true

[travis:env]
ANSIBLE=
2.4: ansible24
2.5: ansible25
2.6: ansible26
2.7: ansible27

[testenv]
passenv = *
deps =
-rtest-requirements.txt
ansible24: ansible<2.5
ansible25: ansible<2.6
ansible26: ansible<2.7
ansible27: ansible<2.8
commands =
{posargs:molecule test --all --destroy always}