Setup role variable to be more reusable in other situations.

This commit is contained in:
Dorian 2015-03-25 09:18:23 -04:00
parent 3d3ab570d6
commit 5fc72c09c2
2 changed files with 5 additions and 112 deletions

View File

@ -17,8 +17,8 @@ rookeries_environ_type: dev
rookeries_app_config: rookeries_app_config:
# Basic environmental # Basic environmental
rookeries_environmental_name: "Vagrant" rookeries_environmental_name: "Provisioned Env"
rookeries_debug: true rookeries_debug: false
# Password salts + secrets # Password salts + secrets
rookeries_password_salt: "secret" rookeries_password_salt: "secret"
@ -28,10 +28,10 @@ rookeries_app_config:
rookeries_database_uri: "mysql+mysqlconnector://{{ rookeries_db. username}}:{{ rookeries_db.password }}@localhost:3306/{{ rookeries_db.db_name }}?charset=utf8" rookeries_database_uri: "mysql+mysqlconnector://{{ rookeries_db. username}}:{{ rookeries_db.password }}@localhost:3306/{{ rookeries_db.db_name }}?charset=utf8"
# Mail server configuration # Mail server configuration
rookeries_mail_server: "localhost" rookeries_mail_server: "smtp.localhost.net"
rookeries_mail_port: 25 rookeries_mail_port: 25
rookeries_mail_username: "" rookeries_mail_username: "user"
rookeries_mail_password: "" rookeries_mail_password: "password"
rookeries_mail_default_sender: "admin@local_rookeries_install.localhost.net" rookeries_mail_default_sender: "admin@local_rookeries_install.localhost.net"
rookeries_mail_use_tls: false rookeries_mail_use_tls: false
rookeries_mail_use_ssl: false rookeries_mail_use_ssl: false

View File

@ -3,122 +3,15 @@ galaxy_info:
author: Dorian Pula author: Dorian Pula
description: Ansible role to setup and deploy Rookeries. description: Ansible role to setup and deploy Rookeries.
company: Amber Penguin Software company: Amber Penguin Software
# Some suggested licenses:
# - BSD (default)
# - MIT
# - GPLv2
# - GPLv3
# - Apache
# - CC-BY
license: AGPLV3 license: AGPLV3
min_ansible_version: 1.8.0 min_ansible_version: 1.8.0
#
# Below are all platforms currently available. Just uncomment
# the ones that apply to your role. If you don't see your
# platform on this list, let us know and we'll get it added!
#
platforms: platforms:
#- name: EL
# versions:
# - all
# - 5
# - 6
# - 7
#- name: GenericUNIX
# versions:
# - all
# - any
#- name: Fedora
# versions:
# - all
# - 16
# - 17
# - 18
# - 19
# - 20
#- name: SmartOS
# versions:
# - all
# - any
#- name: opensuse
# versions:
# - all
# - 12.1
# - 12.2
# - 12.3
# - 13.1
# - 13.2
#- name: Amazon
# versions:
# - all
# - 2013.03
# - 2013.09
#- name: GenericBSD
# versions:
# - all
# - any
#- name: FreeBSD
# versions:
# - all
# - 8.0
# - 8.1
# - 8.2
# - 8.3
# - 8.4
# - 9.0
# - 9.1
# - 9.1
# - 9.2
- name: Ubuntu - name: Ubuntu
versions: versions:
# - all
# - lucid
# - maverick
# - natty
# - oneiric
# - precise
# - quantal
# - raring
- saucy - saucy
- trusty - trusty
#- name: SLES
# versions:
# - all
# - 10SP3
# - 10SP4
# - 11
# - 11SP1
# - 11SP2
# - 11SP3
#- name: GenericLinux
# versions:
# - all
# - any
#- name: Debian
# versions:
# - all
# - etch
# - lenny
# - squeeze
# - wheezy
#
# Below are all categories currently available. Just as with
# the platforms above, uncomment those that apply to your role.
#
categories: categories:
#- cloud
#- cloud:ec2
#- cloud:gce
#- cloud:rax
#- clustering
#- database
#- database:nosql
- database:sql
- development - development
#- monitoring
#- networking
#- packaging
#- system
- web - web
dependencies: dependencies:
- { role: dorianpula.nginx-uwsgi-supervisor, - { role: dorianpula.nginx-uwsgi-supervisor,