mirror of
https://github.com/luzifer-ansible/instance-status.git
synced 2024-12-26 19:11:16 +00:00
Add support for Archlinux
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
0a05e784c3
commit
745541d952
7 changed files with 28 additions and 4 deletions
|
@ -4,6 +4,7 @@ This role installs [ELB Instance Status](https://github.com/Luzifer/elb-instance
|
|||
|
||||
## Requirements
|
||||
|
||||
- Archlinux
|
||||
- Debian >= 8 (jessie)
|
||||
- Ubuntu >= 16.04 (xenial)
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
|
||||
instance_status_apt_required: []
|
||||
instance_status_pacman_required: []
|
||||
|
||||
instance_status_global_checks: {}
|
||||
instance_status_checks: {}
|
||||
|
|
|
@ -15,6 +15,8 @@ galaxy_info:
|
|||
versions:
|
||||
- jessie
|
||||
- stretch
|
||||
- name: Archlinux
|
||||
versions: [all]
|
||||
|
||||
categories:
|
||||
#- cloud
|
||||
|
|
9
tasks/Archlinux.yml
Normal file
9
tasks/Archlinux.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
|
||||
- name: Install required packages
|
||||
pacman:
|
||||
name: "{{ item }}"
|
||||
state: latest
|
||||
with_items: '{{ instance_status_pacman_required }}'
|
||||
|
||||
...
|
5
tasks/Debian.yml
Normal file
5
tasks/Debian.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
|
||||
- include: Ubuntu.yml
|
||||
|
||||
...
|
8
tasks/Ubuntu.yml
Normal file
8
tasks/Ubuntu.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
|
||||
- name: Install required packages
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
with_items: '{{ instance_status_apt_required }}'
|
||||
|
||||
...
|
|
@ -1,9 +1,7 @@
|
|||
---
|
||||
|
||||
- name: Install required packages
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
with_items: '{{ instance_status_apt_required }}'
|
||||
- name: "Loading distribution specific instructions for {{ ansible_distribution }}"
|
||||
include: "{{ ansible_distribution }}.yml"
|
||||
|
||||
- name: Set up checks file for ELB Instance Status
|
||||
template:
|
||||
|
|
Loading…
Reference in a new issue