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
# | |
# Ansible playbook definition for APP layer deployment. | |
# It deploys 4-to-6 APP servers, in different AZ | |
# All needed variables in "vars" section | |
# Reynaldo R. Martinez P. | |
# E-Mail tigerlinux at gmail dot com | |
# | |
# | |
--- | |
- name: Create APP layer |
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
juju status | |
Model Controller Cloud/Region Version | |
default oscontroller01 oscloud01/casitalab01 2.0.1.1 | |
App Version Status Scale Charm Store Rev OS Notes | |
mysql unknown 1 mysql jujucharms 55 ubuntu | |
wordpress unknown 1 wordpress jujucharms 4 ubuntu exposed | |
Unit Workload Agent Machine Public address Ports Message |
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
juju status | |
Model Controller Cloud/Region Version | |
default cloud-manual-01 manual 2.0.0 | |
App Version Status Scale Charm Store Rev OS Notes | |
mysql unknown 1 mysql jujucharms 55 ubuntu | |
wordpress unknown 1 wordpress jujucharms 4 ubuntu exposed | |
Unit Workload Agent Machine Public address Ports Message | |
mysql/0* unknown idle 1 192.168.56.66 3306/tcp |
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 is a hello world HOT template with app install selection | |
# | |
heat_template_version: 2015-04-30 | |
description: > | |
Hello world HOT template that just defines a single server. | |
Contains just base features to verify base HOT support. | |
parameters: |
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
--- | |
- hosts: webservers | |
user: ansible | |
become: yes | |
become_method: sudo | |
tasks: | |
- name: Install apache, in a yum-based machine | |
yum: | |
name: httpd | |
state: installed |
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
################################################################################ | |
# BASE INSTALLATION PARAMETERS | |
################################################################################ | |
install | |
url --mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=$infra | |
repo --name localupdates --mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates&infra=$infra | |
lang en_US.UTF-8 | |
keyboard us | |
# keyboard es |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |