In our previous blog, we worked on the instantiation of a new Virtual machine on the OpenStack cloud using Ansible. In this blog, we will be covering the second scenario, where the trigger to perform LCM on the newly created VM shall arrive from GitLab via Webhook. For a recap, refer to the previous blog, … Continue reading Infra as Code for OpenStack with Ansible-Git Workflow: Part 2
Coding & Automation
Self-Signed Certificate for GitLab 13.10.3
GitLab can be installed on the private cloud with access to internal applications for code repositories. GitLab application uses an in-build Nginx web service with the option to use either HTTP or HTTPS, based on internal info-security requirements. To use HTTPS, we need to provide the Gitlab application with an updated SSL certificate. We can … Continue reading Self-Signed Certificate for GitLab 13.10.3
Infra as Code for OpenStack with Ansible-Git Workflow: Part 1
Ansible provides a powerful configuration and workflow management tool, which can easily be applied to perform Infrastructure as Code use cases on OpenStack. For my setup, I am using Ansible 2.9.11 in sync with Gitlab for the code repository and source control for playbooks. For this solution, I will proceed with two steps, Scenario 1: … Continue reading Infra as Code for OpenStack with Ansible-Git Workflow: Part 1
[Part 5] Python3: Basics for Beginners – Dictionary & Modules
In Part 4 for our python3 basics for beginners blog, we read about different type of loops and their use. In this blog, we extend this further by introducing concept of dictionary in python. 1. Dictionary Dictionary in python can be use to input from one source and itself acts as a source for processing … Continue reading [Part 5] Python3: Basics for Beginners – Dictionary & Modules
[Part 4] Python3: Basics for Beginners – Type of Loops
In Part 3, we read about simple and advanced If/Else function. In this blog, we will read about usage of loops in python. 1. While Loop Till now, our program was exiting moment it displays result after code execution. However, we may need our application to continuosly re-run python function without explicity exiting. This can … Continue reading [Part 4] Python3: Basics for Beginners – Type of Loops
[Part 3] Python3: Basics for Beginners – If/Else, Nesting
In Part 2 for Python3 Basics for beginners blog, we read about Input function, Return and Casting. In this blog, we will advance our understanding of python by learning conditional coding techniques like if else and nesting. 1. IF/Else Conditions If/Else plays important role in evaluating user inputs from input functions and then determining whether … Continue reading [Part 3] Python3: Basics for Beginners – If/Else, Nesting
[Part 2] Python3: Basics for Beginners – Variables, Input, Return
In Part 1 for Python3, Basics for beginners blog, we read about three python3 usages, viz. Print, Variables and Defining Functions with Parameters. Next we will be learning about, Scope of Variables, Input and Return functions. 1. Scope of Variables In layman terms, it simply determining boundary for variables, something like namespaces,so we can call … Continue reading [Part 2] Python3: Basics for Beginners – Variables, Input, Return
[Part 1] Python3: Basics for Beginners – Print, Variables, Functions
Python is one of few coding languages, which is easy to deploy and use for day to day tasks, whether in DevOps for configuration management or Cloud Infra for health checks and instance life cycle management. What I like most about python is its easy for anyone to switch over and get their hands dirty … Continue reading [Part 1] Python3: Basics for Beginners – Print, Variables, Functions
Using Ansible for executing API calls with URI Module
Ansible is one of powerful tool, which have use cases ranging from remote execution of health check scripts, system life cycle managements and DevOps pipeline via webhooks with Git. All these can be done by accessing remote nodes on simple ssh protocol. However, in this particular blog I will be using Ansible URI module to … Continue reading Using Ansible for executing API calls with URI Module