Jenkins and Ansible Playbook - Part 1

By Rajib Bahar at May 28, 2022 12:42
Filed Under: Data, DevOps

This is a sample Jenkins file I have used in past projects with Ansible & Docker technologies. In part 1, I'll share what the Jenkins template looks like. In the next part, I'll share the actual playbooks. 

 

 

pipeline {
    agent any

    stages {
        stage('Ansible Playbook to clone code...') {
            steps {
                echo 'Clone repo'
                ansiblePlaybook installation: 'Ansible', playbook: '/project/ansible_project/0_clone_repo.yaml'
            }

            post { 
                success { 
                    echo 'Done with cloning...'
                }
            }
        }
        stage('Ansible Playbook to build code...') {
            steps {
                echo 'Build code using maven...' 
                ansiblePlaybook installation: 'Ansible', playbook: '/project/ansible_project/1_build_repo.yaml'
            }

            post { 
                success { 
                    echo 'Done with building...'
                }
            }
        }
        stage('Ansible Playbook to deploy production configuration & cleanup...') {
            steps {
                echo 'Deploy production artifacts...' 
                ansiblePlaybook installation: 'Ansible', playbook: '/project/ansible_project/2_deploy.yaml'
            }

            post { 
                success { 
                    echo 'Done with deploying...'
                }
            }
        } 
    }
}

    

Denny Cherry (@mrdenny): Microsoft Certified Master discusses Azure Cloud, HyperV, & few tips

By Rajib Bahar at June 28, 2017 18:00
Filed Under:


Denny Cherry is the owner and principal consultant for Denny Cherry & Associates Consulting and has over a decade of experience working with platforms such as Microsoft SQL Server, Hyper-V, vSphere and Enterprise Storage solutions. Denny’s areas of technical expertise include system architecture, performance tuning, security, replication and troubleshooting. Denny currently holds several of the Microsoft Certifications related to SQL Server for versions 2000 through 2014 including the Microsoft Certified Master as well as being a Microsoft MVP for several years. Denny has written several books and dozens of technical articles on SQL Server management and how SQL Server integrates with various other technologies.

Interviewer: Rajib Bahar

Agenda:
- What makes SQL Server exciting? Why are you so passionate about data?
- What is the application of Hyper-V?
- Have you worked with Big Data analytics in Microsoft SQL Azure cloud environment?
- You have been consulting for a while. In your opinion is it worth the challenges? What difficulties have you faced initially?
- What has been the most important and high impactful project have you worked on?
- You're a "Microsoft Certified Master". What does it mean and How did you go about achieving it?
- What would you recommend to aspiring professional who want to move into SQL Server or database world?
- Where can people find out about you? are you in linkediN? facebook?

http://www.youtube.com/rajib2k5

Pedro Medina (@haystack_data, @analyzethisTC) - Data Science Community, AI competition & TensorFlow

By Rajib Bahar at June 28, 2017 06:35
Filed Under: Data, Data Podcast, Data Science


Pedro Alexander Medina is Founder & Chief Analytics Officer at Haystack, LLC - an Advanced Analytics Agency specializing in custom managed solutions across the data value chain. With deep expertise in information management and advanced analytics, his mission is to help organizations optimize their strategic data assets by converting complex data into intelligence; intelligence into innovation; innovation into success.

Interviewer: Rajib Bahar

http://www.soundcloud.com/data-podcast

Todd Kitta (@ToddKitta) - Cortana Intelligence Ecosystem, Azure ML Studio, & MS Bot Framework

By Rajib Bahar at June 27, 2017 06:35
Filed Under: Data, Data Podcast, Data Science


Todd is a Microsoft Technology Center Architect based out of Minneapolis, Minnesota and is primary focused on data, analytics, and IoT scenarios. Todd’s background ranges from application development and architecture to implementation of data and analytics solutions in the field for many years as well as work at a Microsoft ISV prior to joining Microsoft. In addition, Todd has authored several books on Microsoft technologies such as .NET and SharePoint.

Interviewer: Rajib Bahar

- Bill Gates said, if he was a fresh college graduate, Artificial Intelligence would have been is top choice for career. I am really interested in learning about what Microsoft is doing in the Artificial Intelligence World! Please give us the big picture of how Cortana Intelligence Suite, Azure ML Studio, and Cognitive Toolkit tie in.

- How does Microsoft Bot Framework work? What kind of task can it automate? Any limitations or risks? Can it take my conversation and execute commands on a remote server?

- Crowdsourcing is the practice of obtaining information or input into a task or project by enlisting the services of a large number of people, either paid or unpaid, typically via the Internet.We have seen it's application in social media for fundraising, team collaboration, organizing events. With that said, how does data catalog in Cortana utilize that concept?

- Customer Churning is a common scenario in any organization either profit or non-profit. Is it easy to implement a solution in Cortana to discover the root cause? How does that approach differ from building charts in Excel or visualizations in PowerBI? I'm curious to learn how would you balance when you need Cortana or some other traditional tool that already exist?

- Tell us about the books you have written and your Cortana Intelligence suite course in MS Virtual Academy.

- How can we connect with you in Twitter or other professional network?

Colin Bartol(@colin_bartol): Big Data in Health Care, Tricare West, DataScience Project Affinity

By Rajib Bahar at June 19, 2017 06:29
Filed Under: Data, Data Podcast, Data Science


Colin Bartol has led a team that built 46% of the servers for Tricare West which covers 2.6 million people for the military which required security for NIST, PCI, and HIPPA. He has his MBA from Carlson school of management, CISSP, and is a SME for the CompTIA Project+ exam. Having been a consultant at 5 Fortune 100 companies in e-commerce, financial services, and retail sectors Colin has a wide experience of what happens in information technology. He is currently employed in telecommunications at a major health insurance company.
Interviewers: Rajib Bahar, Shabnam Khan

Discussion:
- Your background is largely in computer security infrastructure... Tell us about your Data Science related experience? We would like to hear about Affinity project
- What is Data Lake? How have you utilized it?
- I noticed HealthCare industry is hiring Big Data experts like crazy... Are you involved in similar project in your department?
- We are interested in learning about Tricare West
- As it relates to computer Security, what tips or recommendations do you have on securing data and infrastructure in general? and Social media presence

Daniel Whitenack (@dwhitena): Data Science language GO, Containers, Reproducibility

By Rajib Bahar at June 17, 2017 06:29
Filed Under:


Daniel (@dwhitena) is a Ph.D. trained data scientist working with Pachyderm (@pachydermIO). Daniel develops innovative, distributed data pipelines which include predictive models, data visualizations, statistical analyses, and more. He has spoken at conferences around the world (ODSC, Spark Summit, Datapalooza, DevFest Siberia, GopherCon, and more), teaches data science/engineering with Ardan Labs (@ardanlabs), maintains the Go kernel for Jupyter, and is actively helping to organize contributions to various open source data science projects.

Interviewer: Rajib Bahar

Agenda:
- Many of us may or may not be aware of "Jupyter Notebook", which is a web application to write codes in various Languages such is R, Python, Julia, node.js, GoLang, Ruby, & Scala. That appliation in turn creates separate process in the Kernel to receive output from the OS and return the output back to the web application. One of the coolest thing you do is to maintain the Kernela on GoLang aka Go. Currently, Data Scientists tend to gravitate toward either R, or Python as language. You're playing with a bit more modern languages in data science. Why Go? How is it more useful in statistical analysis or Data visualization?
- How do you achive reproducibility in data science?
- Most of us heard of Virtual Machine tools such as VMWare, Virtual PC, Virtual Box. This is the 1st time I heard of containers. What are some key benefits of it?Are there websites such as Turnkey hub where you can get some good images of various OS / software / DBMS platforms?
- What are some best practices around deploying Data Science Models? Do you do something similar to DBAs or DataEngineers to run a job at certain frequencies in the day or hour?
- How do you use data pipelines in your project? Is that something used in ETL like Data-Wrangling process?
- Please tell us where we can find you in social media?

Blue Angels Take Off together

By Rajib Bahar at June 16, 2017 18:00
Filed Under:


Four of them take off at once

http://www.youtube.com/rajib2k5

How to open up Telescope Observatory

By Rajib Bahar at June 16, 2017 18:00
Filed Under:


We were doing some astro-photography. It's a lot of fun to open up the dome and do the basic setup.

http://www.youtube.com/rajib2k5

Hanging out with Three Legged Bear

By Rajib Bahar at June 16, 2017 18:00
Filed Under:


I went to see the feeding ground for Bear Sanctuary in Orr, Minnesota. I've never been this close to a bear in my life.

http://www.youtube.com/rajib2k5

Data Podcast

By Rajib Bahar at June 15, 2017 02:32
Filed Under: Data, Data Podcast, Database, Podcast, SQL, SQL Server, Big Data, Data Science, Analytics

Last few months Shabnam, & I were working on creating a podcast. Our podcast brings industry experts working in various Data practices. We focus on topics related to Big Data, Data Science, Database technologies, RDBMS. Many thanks to our colleagues & friends for their support in this initiative.

 

Here are links to our podcast:

Soundcloud -> https://soundcloud.com/data-podcast

iTunes -> https://itunes.apple.com/us/podcast/data-podcast/id1247751397?mt=2

Tag cloud

Month List