feat: add support of ubuntu 18.04
This commit is contained in:
parent
a1ca0159db
commit
461c73c7f5
6 changed files with 22 additions and 7 deletions
13
.kitchen.yml
13
.kitchen.yml
|
@ -15,13 +15,24 @@ provisioner:
|
|||
ansible_inventory: ./test/integration/inventory
|
||||
|
||||
platforms:
|
||||
- name: debian-9
|
||||
- name: debian9
|
||||
driver_config:
|
||||
image: "nishiki/debian9:ansible-<%= ENV['ANSIBLE_VERSION'] ? ENV['ANSIBLE_VERSION'] : '2.7' %>"
|
||||
command: /bin/systemd
|
||||
volume:
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
||||
security_opt: seccomp=unconfined
|
||||
provisioner:
|
||||
extra_vars:
|
||||
sensu_repository_system: ubuntu
|
||||
sensu_repository_release: xenial
|
||||
- name: ubuntu18.04
|
||||
driver_config:
|
||||
image: "nishiki/ubuntu18.04:ansible-<%= ENV['ANSIBLE_VERSION'] ? ENV['ANSIBLE_VERSION'] : '2.7' %>"
|
||||
command: /bin/systemd
|
||||
volume:
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
||||
security_opt: seccomp=unconfined
|
||||
|
||||
suites:
|
||||
- name: default
|
||||
|
|
|
@ -18,9 +18,9 @@ before_install:
|
|||
- git clone https://github.com/ansible/galaxy-lint-rules.git
|
||||
|
||||
script:
|
||||
- kitchen conv default-debian-9
|
||||
- kitchen conv default-debian-9 | grep changed=0
|
||||
- kitchen verify default-debian-9
|
||||
- kitchen conv
|
||||
- kitchen conv default-debian9 | grep changed=0
|
||||
- kitchen verify
|
||||
- ansible-lint -r galaxy-lint-rules/rules .
|
||||
- yamllint .
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||
Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
||||
|
||||
## [Unreleased]
|
||||
- feat: add support of ubuntu 18.04
|
||||
- feat: add multiple namespaces for the checks, filters, handlers or assets
|
||||
- fix: install python-requests for backend
|
||||
- fix: install build-essential for agent
|
||||
|
|
|
@ -8,7 +8,9 @@ Install and configure sensu-go backend and agent
|
|||
## Requirements
|
||||
|
||||
* Ansible >= 2.5
|
||||
* Debian Stretch
|
||||
* OS
|
||||
* Debian Stretch
|
||||
* Ubuntu 18.04
|
||||
|
||||
## Role variables
|
||||
### General
|
||||
|
|
|
@ -11,6 +11,9 @@ galaxy_info:
|
|||
- name: Debian
|
||||
versions:
|
||||
- stretch
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
- 18.04
|
||||
|
||||
galaxy_tags:
|
||||
- sensu
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
connection: local
|
||||
vars:
|
||||
sensu_backend: yes
|
||||
sensu_repository_system: ubuntu
|
||||
sensu_repository_release: xenial
|
||||
sensu_agent_plugins:
|
||||
- name: sensu-plugins-disk-checks
|
||||
version: 3.1.1
|
||||
|
|
Loading…
Reference in a new issue