Ansible-Playbook Example3: Generate multiple files at specific time interval

In the previous post, we have seen how to generate multiple files using with_sequence and loop features.
Here, we will introduce the delay functionality in the loop feature. This will give a pause after every iteration. So, each file will be created at specific time interval. The official document on loop control can be found here. Download the .yml file directly if you don’t want to go through the discussion.

Read more…

Ansible-Playbook Example2: Loop, with_sequence

Loop and with_sequence allows the commands or the instructions to be executed iteratively. However, I find the syntax bit different from other programming language. Probably this is due to YAML structure. Anyways, lets see few examples and see how to use loop and with_sequence. You can find the official documentation on loop here and on with_sequence here. The list of examples are as follows:

    • Generate empty file from a list (using with_items) (.yml file)
    • Generate empty file from a list (using loop)(.yml file)
    • Generate empty files with pattern (.yml file)

Read more….

Ansible: Installation and Configuration

Ansible is an open-source software provisioning, configuration management, and application deployment tool. It runs on many Unix-like systems, and can configure both Unix-like systems as well as Microsoft Windows. Before proceeding for the installation, it is necessary to get yourself comfortable with basic knowledge.

Ansible Wikipedia: https://en.wikipedia.org/wiki/Ansible_(software)
Official Documentation: https://docs.ansible.com/

Click here to proceed for quick guied on Installation and configuration

JSAC Submission Error: “Upload failed: One or more fonts are not embedded.”

This is a common problem in research community. While submitting a manuscript to any journal (e.g. using EDAS system) you may encounter a common problem “Upload failed: One or more fonts are not embedded”. The solution is to embed all the font into the pdf and then upload the manuscript (in PDF format). Continue reading….

Installation of Cloudify CLI on Ubuntu 14.04 for service deployment using TOSCA standard

Before moving towards installation of Cloudify, it is recommended to obtain the basic concept of Cloudify and TOSCA standard.  In this post we will see how to install Cloudify CLI, through which we can deploy, scale and monitor the different cloud service. For better understanding lets install this in local machine. The basic steps can be refereed and extended for actual cloud environment.

The steps are as follows: <read more…>

Working with Cloudify and ARIA TOSCA – Beginner

TOSCA is a standard that enhance the portability and operational management of cloud and other types of applications and services across the entire life-cycle. On the other hand, Cloudify is an open source cloud orchestration framework and it Domain Specific Language is based on TOSCA standard. Click here to read in more detail.

Q-learn: solving Knight and Princess problem from scratch with Q-learn algorithm

This is another post on Q-learning reinforcement algorithm. Here we will understand and implement the Knight & Princess problem from the scratch using Python language, where the Knight need to move to the place of Princess ignoring the enemies on its way. In this post I have not used any third party library such as gym. Read more…

Understanding Q-learning algorithm with example using Python

Q-learning is a reinforcement learning technique in Machine learning used to answer the question “what action to take under what circumstances”. This model-free machine learning technique is used mainly in implementing any finite Markov Decision Process. The application of reinforcement learning technique can be found in traffic light control, robotics, recommendation system, gaming etc.
Before knowing Q-learning algorithm, let’s first understand the motivation behind this. What kind questions can be answered by Q-learning algorithm? Read more…