You are here

Linux

All kind of Help For linux systems

Ansible Basics by Example. Configure and Deploy an Application

Following on other ansible posts, just to get the hang of things and have some more examples, here we are going to use ansible to deploy and test and application.

This is only and example app, nothing serious or usefull, just to get a little bit of practice, The application analyzes OS support bundles for hardware/soft errors, the bundles are read from a /dir in the host, and it outputs the analysis via a web page on a docker container running and http server.

Unix Systems: 

Continuous Delivery Workflow example with Docker, Docker-Compose and Ansible part 3

Hi,

Unix Systems: 

Continuous Delivery Workflow example with Docker Docker-Compose and Ansible part 2

Continuous Delivery Workflow example with Docker Docker-Compose and Ansible

Hi

We are going to start the journey on creating the Continuous deployment Workflow pipeline for our prize winner php app.

We are taking on from the previous post, check it out to get up to date, with what we have done:

http://hpuxtips.es/?q=content/docker-using-docker-compose-build-lamp-dev...

Unix Systems: 

#docker using #docker-compose to build a lamp dev enviroment with front-end autoscale

Hi,

To continue developing our great php app, that we coded in the last ansible series
We are going to show and example on how we could bring up really quickly
A dev enviroment to test/develop our App using docker-compose.

We are going to create the same architecture as in the last blog series of ansible:
one load balancer, several web servers and a mysql database.

The beauty of this is that we can build and bring up the dev enviroment in minutes.

Unix Systems: 

Ansible Basics Continued. Lamp config with php test app cloned from git for latest version

Just to finish off this series, we are going to configure php in the webserver role, add a very very basic php app, that does a connection to the DB and inserts to a table the hostname and ip of the webserver that runs the request. The PHP app will get downloaded from git each time we run the play.

Here is the git repo with all the files that we work with:

https://github.com/likid0/AnsibleSeries.git

Unix Systems: 

Ansible Basics Continued. And example mysql dbserver role

We continue are ansible basics post. check out the previous post to get the full config..

Here is the git repo with all the files that we work with:

https://github.com/likid0/AnsibleSeries.git


We are going to continue and work a little on the db mysql role.

So we create the structure like allways:

[liquid@liquid-ibm:ansible/ansible]$ tree roles/dbserver                                                                                                                                 (10-15 21:25)
roles/dbserver
├── dump
│   └── dump.sql
├── handlers
│   └── main.yaml
├── tasks
Unix Systems: 

Ansible Basics Continued. And HAproxy Load Balancer Role


We are going to continue with our configuration playbook configuration just to practice a little more.

Here is the git repo with all the files that we work with:

https://github.com/likid0/AnsibleSeries.git



What we want to achive for now is: 

Get iptables enabled on the load balancer and web servers, open port 80 on all of them.
Install and configure a loadbalancer role using HAproxy
If new web nodes are added, configure them in the HAproxy config
Check the work.
Unix Systems: 

Ansible Basics

Here some notes on Ansible Basics to get started.

Here is the git repo with all the files that we work with:
https://github.com/likid0/AnsibleSeries.git

Unix Systems: 

Use Vagrant + Ansible to get your Swarm Cluster test enviroment running

 Hi,

This is just a quick post as a follow up on the previous post:

Configure Docker Swarm Cluster with Consul Registry service

In that post we did the enviroment configuration by hand, here we are going to use Vagrant + ansible to make life easier, this is not and optimal Vagrant/ansible configuration it's just to get the  test lab ready in minutes, so you can spend your time with swarm:

So we are going to use vagrant to create our 6 Vms, and the use ansible to provision the servers.

First we create a dir to store our vagrant file:
Unix Systems: 

Pages

Subscribe to RSS - Linux

Fatal error: Class CToolsCssCache contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (DrupalCacheInterface::__construct) in /homepages/37/d228974590/htdocs/sites/all/modules/ctools/includes/css-cache.inc on line 52