mirror of
https://github.com/luzifer-ansible/instance-status.git
synced 2024-12-28 03:51: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
|
## Requirements
|
||||||
|
|
||||||
|
- Archlinux
|
||||||
- Debian >= 8 (jessie)
|
- Debian >= 8 (jessie)
|
||||||
- Ubuntu >= 16.04 (xenial)
|
- Ubuntu >= 16.04 (xenial)
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
instance_status_apt_required: []
|
instance_status_apt_required: []
|
||||||
|
instance_status_pacman_required: []
|
||||||
|
|
||||||
instance_status_global_checks: {}
|
instance_status_global_checks: {}
|
||||||
instance_status_checks: {}
|
instance_status_checks: {}
|
||||||
|
|
|
@ -15,6 +15,8 @@ galaxy_info:
|
||||||
versions:
|
versions:
|
||||||
- jessie
|
- jessie
|
||||||
- stretch
|
- stretch
|
||||||
|
- name: Archlinux
|
||||||
|
versions: [all]
|
||||||
|
|
||||||
categories:
|
categories:
|
||||||
#- cloud
|
#- 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
|
- name: "Loading distribution specific instructions for {{ ansible_distribution }}"
|
||||||
apt:
|
include: "{{ ansible_distribution }}.yml"
|
||||||
name: "{{ item }}"
|
|
||||||
with_items: '{{ instance_status_apt_required }}'
|
|
||||||
|
|
||||||
- name: Set up checks file for ELB Instance Status
|
- name: Set up checks file for ELB Instance Status
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Reference in a new issue