How to specifying multiple groups in a playbook hosts specification?
By design, Ansible executes just one play at a time. Your playbook consists of two plays (the two items in the root-level YAML list defined by the playbook file). Method…
Read more »
Octopus deploy Package Deployment Feature Ordering
When Octopus deploys packages, it runs a series of actions implementing the conventions or features enabled for that step. The order of evaluation once the package is extracted is: BeforePreDeploy.*…
Read more »
Difference between ansible vars_files vs include_vars
Both of them have some commonalities but they solve different purposes. vars_files are read when the play starts. include_vars are read when the play reaches the task. Format vars_files: directive…
Read more »Configuration Transforms in Octopus Deploy explained!
Before understanding “Configuration Transforms” in octopus deploy, lets understand what is “Web.config Transformation” in visual studio. What is Web.config? Web.config is an application configuration file of The Official Microsoft ASP.NET…
Read more »
How to create a Nuget Package using NuGet Package Explorer?
What is NuGet Package Explorer? NuGet Package Explorer (NPE) is an application that makes it easy to create and explore NuGet packages. You can load a .nupkg or .snupkg file…
Read more »Understanding a world of DevOps from Richard Seroter
Introduction and Goals Hi, my name is Richard Seroter and welcome to this course on DevOps. We’re going to be covering the Big Picture of DevOps, hence the title, really…
Read more »Octopus Deploy – How to handle deployment errors and script failure response.
Each of your scripts will be bootstrapped by the open-source Calamari project to provide access to variables and helper functions. You can see how your scripts are bootstrapped in the…
Read more »Octopus Deploy – Send a Notification When Deployments Fail
If you are using Octopus Deploy as part of a continuous delivery pipeline, you’ll probably find that deployments don’t fail very often. This means, you need to send an email…
Read more »Octopus Deploy – Deployment Examples and Sample Projects
Deploying software with Octopus Deploy involves packaging your applications and configuring your infrastructure. With those two steps completed, you need to define your deployment process by creating a project, adding steps and configuration variables, and creating releases. The section goes…
Read more »Octopus Deploy – Run Multiple Processes steps on a Tentacle Simultaneously and Parallel
For each step that you define in you deployment processes, you can set conditions for greater control over the step’s execution. You can set conditions to: Run the step on…
Read more »Splunk frequently asked questions!!!
Question – How often does the forwarder send data to indexer?Answer – The forwarder sends data immediately when it becomes available. There is no certain interval that it waits or…
Read more »How to use two github account on the same computer?
Step 1 – How to generate a ssh key pair? $ ssh-keygen -t rsa -C “devops@RajeshKumar.xyz” Step 2 – Upload 2 different public key in 2 github accounts. Step 3…
Read more »What Is HTML?
HTML is a markup language for creating web documents / pages 1.Hyper Text Markup Language 2.Markup language – Uses a set of markup tags 3.NOT a programming language HTML Tags…
Read more »
Todo Application in Laravel
1.Create Project in Laravel Composer create-project laravel/laravel todolist 2.Create CRUD Controller php artisan make:controller TodosController –resource 3.Route setup of CRUD Controller routes/web.php 4.Create Database todolist localhost/phpmyadmin create database todolist 5.Create…
Read more »UrbanCode Deploy aka UDeploy Tutorial – Introduction of CodeStation
CodeStation is the secure and tamper-proof artifact repository ensures that deployed components are identical to the components that were tested in preproduction environments. Without the repository, artifacts must be pulled…
Read more »UrbanCode Deploy aka UDeploy Tutorial – Fix of “Download Artifacts” steps
Error Solution if you are using “Source Configuration Type”, File System and File System(Version), “Base Path” must not be empty “Base Path” location must have some subdirectory and files which…
Read more »UrbanCode Deploy aka UDeploy Tutorial – Cleaning up component versions
You cannot delete this version if it is used by: Process History. But You can delete versions that were deployed in a process only through Artifact Cleanup. You can configure…
Read more »
Working with Azure using Ansible
Ansible includes a suite of modules for interacting with “Azure Resource Manager”, giving you the tools to easily create and orchestrate infrastructure on the Microsoft Azure Cloud. Step 1 –…
Read more »Reboot and wait for reboot to complete in Ansible playbook
Reference – https://blog.confirm.ch/calling-ansible-handlers-based-on-os-distributions/
Read more »How to fetch data in excel or generate excel file in PHP
File structure for this tutorial : config.php (database connection file) index.php (For fetching data ) genrate-excel.php (For genrating excel file ) Create a sql table tblemployee. Structure of sql table…
Read more »
Password Hashing in PHP
Functions for hashing password password_hash() password_verify() password_hash() – Syntax: [code language=”php”] string password_hash(string $password , integer $algo [, array $options ] ) [/code] string $password – Password provide by user…
Read more »How to delete records?
1) Write the delete statement: [code language=”php”] $sql = "DELETE FROM `users` WHERE `id`=:id"; [/code] 2) Prepare the query: [code language=”php”] $query = $dbh -> prepare($sql); [/code] 3) Bind the…
Read more »How to use PDO to update the database?
1) Write the regular update statement and again, instead of values, assign the named placeholders. For example: [code language=”php”] $sql = "UPDATE `users` SET `city`= :city, `phone` = :tel WHERE…
Read more »uDeploy Component Rollback explained!!!
What is Rollback? Automatically moving component versions(That is, the environment inventory) to a previous state. – To the versions that were deployed before a process began – To the versions…
Read more »uDeploy Application processes Steps Explained!!!
Application processes, like component processes, are created with the process editor. UDeploy provides several common process steps. Also, application processes are assembled from processes that are defined for their associated…
Read more »
UDeploy properties & component properties along with their contexts
Components can have several types of properties. The server keeps track of changes to component properties as property versions. Properties can be set for many different things, including components, environments,…
Read more »
Component Process types of uDeploy explained!!!
In most cases, you run component processes by adding them to application processes. However, you can also run component processes directly. Click an application, and go to the Components tab….
Read more »
What is Agent Pool and selection criteria in uDeploy?
Similar to resource groups, agent pools help you organize and manage agents that are installed in different environments. Agent pools distribute work among all pool members and reduce congestion that…
Read more »How to use PDO to read data from the database?
1) Write the regular select statement and again, instead of values, put named placeholders. For example: [code language=”php”] $sql = "SELECT * FROM users"; [/code] 2) Prepare the query: [code…
Read more »