-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #143 from danragnar/fix/fedora
Add fedora as OS
- Loading branch information
Showing
9 changed files
with
74 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../CentOS/dashboard.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../CentOS/main.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
# tasks/Fedora/rabbit.yml: Deploy RabbitMQ | ||
# Specific to Fedora | ||
|
||
- include_vars: "{{ ansible_distribution }}.yml" | ||
|
||
- name: Add RabbitMQ's repo | ||
yum_repository: | ||
name: rabbitmq | ||
description: rabbitmq | ||
baseurl: "https://dl.bintray.com/rabbitmq/rpm/rabbitmq-server/v3.7.x/el/7" | ||
gpgcheck: yes | ||
gpgkey: https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc | ||
repo_gpgcheck: no | ||
|
||
- name: Add RabbitMQ's Erlang repo | ||
yum_repository: | ||
name: rabbitmq-erlang | ||
description: rabbitmq-erlang | ||
baseurl: "https://dl.bintray.com/rabbitmq/rpm/erlang/19/el/7" | ||
gpgcheck: yes | ||
gpgkey: https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc | ||
repo_gpgcheck: no | ||
|
||
- name: Ensure Erlang & RabbitMQ are installed | ||
dnf: | ||
name: | ||
- erlang | ||
- rabbitmq-server | ||
state: present | ||
enablerepo: rabbitmq,rabbitmq-erlang | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
# tasks/Fedora/redis.yml: Deploy redis | ||
# Specific to Fedora | ||
|
||
- include_vars: "{{ ansible_distribution }}.yml" | ||
|
||
- name: Ensure redis is installed | ||
dnf: | ||
name: "{{ redis_pkg_name }}" | ||
state: "{{ redis_pkg_state }}" | ||
|
||
- name: Ensure redis binds to accessible IP | ||
lineinfile: | ||
dest: /etc/redis.conf | ||
regexp: '^bind' | ||
line: 'bind 0.0.0.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
# vars/Fedora.yml: Variables for Fedora | ||
# Defaults are defined in defaults/main.yml | ||
|
||
# Sensu/Uchiwa user/group/service properties | ||
_sensu_pkg_version: '1.2.1' | ||
|
||
#RH/Centos 7 version works for Fedora 25 as a client | ||
sensu_yum_repo_url: "https://sensu.global.ssl.fastly.net/yum/7/$basearch/" |