SlideShare a Scribd company logo
#DOPPA17
Windows Automation with Ansible
Swapnil Dahiphale | Lokesh Jawane
9th
September 2017
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Who Am I?
- Sr. DevOps Engineer at Crevise Technologies
- Passionate about Learning and implementing disruptive innovations in
DevOps
@Swapnil2233
swapnil@crevise.com
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Who Am I?
Sr. DevOps Engineer at Crevise Technologies
@lokeshjawane
lokesh.jawane@crevise.com
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Agenda
- Automation
- Why Automation?
- Windows Automation and Challenges
- Automation tools
- Ansible
- Principles of Ansible and How it works
- User case
- Demo
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Automation
“Automation is the key to successful DevOps adoption”
- Change Management
- Provisioning
- Orchestration
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Change Management
- System State
- Define
- Enforce
- Example
- Apache web server version 2.4.x installed
- PHP 5.4.x installed
- Apache web server started
- Webadmin user exist with authorized key
- Deviation from the state would warrant a change
- Ansible operations are idempotent
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Provisioning
- Built on top of Automation and Change Management
- Preparing a system
- Installing, updating, configuring software
- Example:
- Start with basic installation of OS
- Update the operating system
- Install the web server
- Deploy the application
- Configure the application
- Start the web server
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Orchestration
- Orchestration is not just Automation
- Coordination between systems
- Order sensitive tasks
- Example:
- Remove web1 from LB
- Run tasks on web1
- Add web1 back to LB
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Why Automation?
- We all have to do more with less!
- Consistently deliver stable predictable environment
- Increase number of deployments, decrease time between deployments
- Deliver more secure environment
- Innovate faster
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Linux Vs Windows
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Windows Automation
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Windows Automation Challenges
- Legacy Security Models
- AD dependencies
- Reboot are a pain
- Typically heavy software packages
- We can bootstrap to a point
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Automation Tools
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
You’ve probably already heard of
the most common tools
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Ansible
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Principles of Ansible
SIMPLE POWERFUL AGENTLESS
Human readable automation App deployment Agentless architecture
No special coding skills needed Configuration management Uses OpenSSH & WinRM
Tasks executed in order Workflow orchestration No agents to exploit or
update
Get productive quickly Orchestrate the app lifecycle More efficient & more
secure
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
How Ansible Works?
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Ansible concepts: Playbooks
Defines sequences of tasks (Plays) to be executed on a group of hosts.
- Describes policies machine under management shall enforce
- Contains variables, tasks, handlers, files, templates and roles
- Expressed in YAML
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Ansible concepts: Playbooks
---
- win_get_url:
url: “{{ windows_server_iso }}”
dest: “{{ windows_temp_path }}win20121.iso”
force: yes
when: win_iso.stat.exists == false
- win_shell: ‘Mount-DiskImage -ImagePath “{{ windows_temp_path }}win20121.iso”’
- win_shell: ‘(Get-DiskImage -ImagePath “{{ windows_temp_path }}win20121.iso” | Get-Volume).DriveLetter’
register: drive_letter
# - debug: var=drive_letter
- name: net-framework-35
win_feature:
name: NET-Framework-Core
source: ‘{{ drive_letter.stdout_lines[0] }}:sourcessxs’
state: present
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Ansible concepts: Playbooks
---
- win_get_url:
url: “{{ windows_server_iso }}”
dest: “{{ windows_temp_path }}win20121.iso”
force: yes
when: win_iso.stat.exists == false
- win_shell: ‘Mount-DiskImage -ImagePath “{{ windows_temp_path }}win20121.iso”’
- win_shell: ‘(Get-DiskImage -ImagePath “{{ windows_temp_path }}win20121.iso” | Get-Volume).DriveLetter’
register: drive_letter
# - debug: var=drive_letter
- name: net-framework-35
win_feature:
name: NET-Framework-Core
source: ‘{{ drive_letter.stdout_lines[0] }}:sourcessxs’
state: present
module
variable
List of plays
List of tasks
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Ansible concepts: Roles
Best way to organize your playbooks
- Structure content into related vars, tasks, files, handlers, etc.
- File structure for automated inclusion of role-specific content
- Roles can be shared and pulled from Ansible Galaxy, Github, etc.
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Ansible Tower
- Product by Red Hat
- Web based UI
- Cloud Integration (AWS, Azure, RackSpace)
- Compliance: Reporting + Auditing
- Every job run is logged and can be traced
- Role Based Access Control
- REST API
- Monitoring
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Preparation
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Setup Ansible on Control Node
$ add-apt-repository ppa:ansible
$ apt-get update
$ apt-get install ansible
OR
$ pip install ansible
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Limitation for Control Node
- Control Node is recommended to be Linux.
- Or Windows Subsystem for Linux (WSL)
http://docs.ansible.com/ansible/intro_windows.html#using-a-windows-control-machine
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Additional Setup for Controlling Windows
- To control Windows Slave with local User Account, no additional setup
required
- To control Windows Slave with AD Account, the easiest way is to setup
Kerberos
$ apt-get install python-dev libkrb5-dev krb5-user
$ pip install pywinrm[kerberos]
$ vim /etc/krb5.conf
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Additional Setup for the Windows Slave Nodes
The older Windows require extra setup to meet basic requirements
- Windows 7,8, Windows Server 2008 R2
- .Net Framework >= 4.0 (reboot required)
- PowerShell >=3.0 (reboot required)
- Windows Remote Management (WinRM)
- Apply Hotfix for Windows 7, 8, Windows Server 2008 R2, 2012
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
What About Linux Slave?
Nope…
There’s no prerequisites for linux slave, except login user account ;-)
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Use case
Setting up private cloud for an enterprise client.
- Challenges:
- Strict and close timelines, RHEL, Windows and all integration points automation, Security,
Compliance and testing in a restricted environment.
- Solution:
- Provisioning of VMs is done with CloudForms
- Configurations on RHEL and Windows VMs is done with Ansible
- Network related activities are automated with Ansible
- Integration with Hitachi Data Systems automated with Ansible
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Use case
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Use case
Things Automated
- OS Hardening
- Updates and patches
- Antivirus Configuration
- Joining VM to Active Directory
- Installation of softwares like MSSQL
- Windows clustering and MSSQL cluster confuguration
- ...
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Demo
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Ansible makes automating Windows easier!
Conclusion
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
Questions?
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
github.com/swapnildahiphale
linkedin.com/in/swapnil2233
@Swapnil2233
swapnil@crevise.com
Thank You!
#DOPPA17
As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for
social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us)
References
http://docs.ansible.com/ansible/intro_windows.html#using-a-windows-control-machine
http://docs.ansible.com/ansible/latest/intro_windows.html

More Related Content

What's hot

DevOps++ Global Summit 2017
DevOps++ Global Summit 2017DevOps++ Global Summit 2017
DevOps++ Global Summit 2017
Agile Testing Alliance
 
DevOps Architecture Design
DevOps Architecture DesignDevOps Architecture Design
DevOps Architecture Design
Agile Testing Alliance
 
#ATAGTR2018 Presentation " Security Testing for RESTful APIs" By Anuradha Raman
#ATAGTR2018 Presentation " Security Testing for RESTful APIs" By Anuradha Raman #ATAGTR2018 Presentation " Security Testing for RESTful APIs" By Anuradha Raman
#ATAGTR2018 Presentation " Security Testing for RESTful APIs" By Anuradha Raman
Agile Testing Alliance
 
#ATAGTR2020 Presentation - Speed Up Your Regression Testing Cycles with Data ...
#ATAGTR2020 Presentation - Speed Up Your Regression Testing Cycles with Data ...#ATAGTR2020 Presentation - Speed Up Your Regression Testing Cycles with Data ...
#ATAGTR2020 Presentation - Speed Up Your Regression Testing Cycles with Data ...
Agile Testing Alliance
 
The Open-source Eclipse Plugin for Force.com Development, Summer ‘14
The Open-source Eclipse Plugin for Force.com Development, Summer ‘14The Open-source Eclipse Plugin for Force.com Development, Summer ‘14
The Open-source Eclipse Plugin for Force.com Development, Summer ‘14
Salesforce Developers
 
Building GPE: What We Learned
Building GPE: What We LearnedBuilding GPE: What We Learned
Building GPE: What We Learnedrajeevdayal
 
GeeCON 2015 DevOps and the dark side
GeeCON 2015 DevOps and the dark side GeeCON 2015 DevOps and the dark side
GeeCON 2015 DevOps and the dark side
Steve Poole
 
Code Coverage for Total Security in Application Migrations
Code Coverage for Total Security in Application MigrationsCode Coverage for Total Security in Application Migrations
Code Coverage for Total Security in Application Migrations
Dana Luther
 
HTML 5
HTML 5HTML 5
Inbound 2017: Back to Our Roots with Technical SEO
Inbound 2017: Back to Our Roots with Technical SEOInbound 2017: Back to Our Roots with Technical SEO
Inbound 2017: Back to Our Roots with Technical SEO
Stephanie Wallace
 
Swamp 2019: She Promoted Her Helm Chart: You Won't Believe What Happened Next!
Swamp 2019: She Promoted Her Helm Chart: You Won't Believe What Happened Next!Swamp 2019: She Promoted Her Helm Chart: You Won't Believe What Happened Next!
Swamp 2019: She Promoted Her Helm Chart: You Won't Believe What Happened Next!
Simon Walton
 
有了 Agile,為什麼還要有 DevOps?
有了 Agile,為什麼還要有 DevOps?有了 Agile,為什麼還要有 DevOps?
有了 Agile,為什麼還要有 DevOps?
William Yeh
 
5 Things You Shouldn't Do With A WordPress Plugin
5 Things You Shouldn't Do With A WordPress Plugin5 Things You Shouldn't Do With A WordPress Plugin
5 Things You Shouldn't Do With A WordPress Plugin
Kelly Phillips
 
Work with Developers for Fun and Progress - AppSec California
Work with Developers for Fun and Progress - AppSec CaliforniaWork with Developers for Fun and Progress - AppSec California
Work with Developers for Fun and Progress - AppSec California
leifdreizler
 
Developing in the Fastlane -> How LookLive uses Fastlane to automate and spee...
Developing in the Fastlane -> How LookLive uses Fastlane to automate and spee...Developing in the Fastlane -> How LookLive uses Fastlane to automate and spee...
Developing in the Fastlane -> How LookLive uses Fastlane to automate and spee...
Donny Wals
 

What's hot (15)

DevOps++ Global Summit 2017
DevOps++ Global Summit 2017DevOps++ Global Summit 2017
DevOps++ Global Summit 2017
 
DevOps Architecture Design
DevOps Architecture DesignDevOps Architecture Design
DevOps Architecture Design
 
#ATAGTR2018 Presentation " Security Testing for RESTful APIs" By Anuradha Raman
#ATAGTR2018 Presentation " Security Testing for RESTful APIs" By Anuradha Raman #ATAGTR2018 Presentation " Security Testing for RESTful APIs" By Anuradha Raman
#ATAGTR2018 Presentation " Security Testing for RESTful APIs" By Anuradha Raman
 
#ATAGTR2020 Presentation - Speed Up Your Regression Testing Cycles with Data ...
#ATAGTR2020 Presentation - Speed Up Your Regression Testing Cycles with Data ...#ATAGTR2020 Presentation - Speed Up Your Regression Testing Cycles with Data ...
#ATAGTR2020 Presentation - Speed Up Your Regression Testing Cycles with Data ...
 
The Open-source Eclipse Plugin for Force.com Development, Summer ‘14
The Open-source Eclipse Plugin for Force.com Development, Summer ‘14The Open-source Eclipse Plugin for Force.com Development, Summer ‘14
The Open-source Eclipse Plugin for Force.com Development, Summer ‘14
 
Building GPE: What We Learned
Building GPE: What We LearnedBuilding GPE: What We Learned
Building GPE: What We Learned
 
GeeCON 2015 DevOps and the dark side
GeeCON 2015 DevOps and the dark side GeeCON 2015 DevOps and the dark side
GeeCON 2015 DevOps and the dark side
 
Code Coverage for Total Security in Application Migrations
Code Coverage for Total Security in Application MigrationsCode Coverage for Total Security in Application Migrations
Code Coverage for Total Security in Application Migrations
 
HTML 5
HTML 5HTML 5
HTML 5
 
Inbound 2017: Back to Our Roots with Technical SEO
Inbound 2017: Back to Our Roots with Technical SEOInbound 2017: Back to Our Roots with Technical SEO
Inbound 2017: Back to Our Roots with Technical SEO
 
Swamp 2019: She Promoted Her Helm Chart: You Won't Believe What Happened Next!
Swamp 2019: She Promoted Her Helm Chart: You Won't Believe What Happened Next!Swamp 2019: She Promoted Her Helm Chart: You Won't Believe What Happened Next!
Swamp 2019: She Promoted Her Helm Chart: You Won't Believe What Happened Next!
 
有了 Agile,為什麼還要有 DevOps?
有了 Agile,為什麼還要有 DevOps?有了 Agile,為什麼還要有 DevOps?
有了 Agile,為什麼還要有 DevOps?
 
5 Things You Shouldn't Do With A WordPress Plugin
5 Things You Shouldn't Do With A WordPress Plugin5 Things You Shouldn't Do With A WordPress Plugin
5 Things You Shouldn't Do With A WordPress Plugin
 
Work with Developers for Fun and Progress - AppSec California
Work with Developers for Fun and Progress - AppSec CaliforniaWork with Developers for Fun and Progress - AppSec California
Work with Developers for Fun and Progress - AppSec California
 
Developing in the Fastlane -> How LookLive uses Fastlane to automate and spee...
Developing in the Fastlane -> How LookLive uses Fastlane to automate and spee...Developing in the Fastlane -> How LookLive uses Fastlane to automate and spee...
Developing in the Fastlane -> How LookLive uses Fastlane to automate and spee...
 

Similar to Windows automation with ansible

Windows Automation with Ansible
Windows Automation with Ansible Windows Automation with Ansible
Windows Automation with Ansible
Agile Testing Alliance
 
Salesforce: CI,CD & CT
Salesforce: CI,CD & CTSalesforce: CI,CD & CT
Salesforce: CI,CD & CT
Agile Testing Alliance
 
DevOps In Mobility World With Microsoft Technology
DevOps In Mobility World With Microsoft Technology DevOps In Mobility World With Microsoft Technology
DevOps In Mobility World With Microsoft Technology
Agile Testing Alliance
 
Monitoring with Prometheus
Monitoring with Prometheus Monitoring with Prometheus
Monitoring with Prometheus
Pravin Magdum
 
#ATAGTR2020 Presentation - Multiplatform Test Automation Framework Solution w...
#ATAGTR2020 Presentation - Multiplatform Test Automation Framework Solution w...#ATAGTR2020 Presentation - Multiplatform Test Automation Framework Solution w...
#ATAGTR2020 Presentation - Multiplatform Test Automation Framework Solution w...
Agile Testing Alliance
 
Making DevOps a reality for Legacy Enterprise Monolithic Products
Making DevOps a reality for Legacy Enterprise Monolithic ProductsMaking DevOps a reality for Legacy Enterprise Monolithic Products
Making DevOps a reality for Legacy Enterprise Monolithic Products
Agile Testing Alliance
 
#ATAGTR2020 Presentation - Relish your journey to Software Testing Masterchef
#ATAGTR2020 Presentation - Relish your journey to Software Testing Masterchef#ATAGTR2020 Presentation - Relish your journey to Software Testing Masterchef
#ATAGTR2020 Presentation - Relish your journey to Software Testing Masterchef
Agile Testing Alliance
 
#ATAGTR2020 Presentation - Redefining DevOps for seamless performance testing
#ATAGTR2020 Presentation - Redefining DevOps for seamless performance testing#ATAGTR2020 Presentation - Redefining DevOps for seamless performance testing
#ATAGTR2020 Presentation - Redefining DevOps for seamless performance testing
Agile Testing Alliance
 
#ATAGTR2019 Presentation "Delivering Cx through Continuous Performance Assura...
#ATAGTR2019 Presentation "Delivering Cx through Continuous Performance Assura...#ATAGTR2019 Presentation "Delivering Cx through Continuous Performance Assura...
#ATAGTR2019 Presentation "Delivering Cx through Continuous Performance Assura...
Agile Testing Alliance
 
#ATAGTR2020 Presentation - Case study for holistic approach to IoT testing
#ATAGTR2020 Presentation - Case study for holistic approach to IoT testing#ATAGTR2020 Presentation - Case study for holistic approach to IoT testing
#ATAGTR2020 Presentation - Case study for holistic approach to IoT testing
Agile Testing Alliance
 
#ATAGTR2020 Presentation - The Splunk Integration for Futuristic NFT in DevOp...
#ATAGTR2020 Presentation - The Splunk Integration for Futuristic NFT in DevOp...#ATAGTR2020 Presentation - The Splunk Integration for Futuristic NFT in DevOp...
#ATAGTR2020 Presentation - The Splunk Integration for Futuristic NFT in DevOp...
Agile Testing Alliance
 
#ATAGTR2020 Presentation - Adaptive Learner
#ATAGTR2020 Presentation - Adaptive Learner#ATAGTR2020 Presentation - Adaptive Learner
#ATAGTR2020 Presentation - Adaptive Learner
Agile Testing Alliance
 
#ATAGTR2019 Presentation "iOS App Automation, GitHub and Jenkins integration"...
#ATAGTR2019 Presentation "iOS App Automation, GitHub and Jenkins integration"...#ATAGTR2019 Presentation "iOS App Automation, GitHub and Jenkins integration"...
#ATAGTR2019 Presentation "iOS App Automation, GitHub and Jenkins integration"...
Agile Testing Alliance
 
#ATAGTR2020 Presentation - Non-Functional Testing of Chatbots
#ATAGTR2020 Presentation - Non-Functional Testing of Chatbots#ATAGTR2020 Presentation - Non-Functional Testing of Chatbots
#ATAGTR2020 Presentation - Non-Functional Testing of Chatbots
Agile Testing Alliance
 
Robotic Process Automation
Robotic Process Automation Robotic Process Automation
Robotic Process Automation
Agile Testing Alliance
 
#ATAGTR2018 Presentation "Design Patterns in Test Automation" By Shrinathacha...
#ATAGTR2018 Presentation "Design Patterns in Test Automation" By Shrinathacha...#ATAGTR2018 Presentation "Design Patterns in Test Automation" By Shrinathacha...
#ATAGTR2018 Presentation "Design Patterns in Test Automation" By Shrinathacha...
Agile Testing Alliance
 
#ATAGTR2019 Presentation "Re-engineering perfmance strategy of deep learning ...
#ATAGTR2019 Presentation "Re-engineering perfmance strategy of deep learning ...#ATAGTR2019 Presentation "Re-engineering perfmance strategy of deep learning ...
#ATAGTR2019 Presentation "Re-engineering perfmance strategy of deep learning ...
Agile Testing Alliance
 
#ATAGTR2018 Presentation "Decoding Security in DevSecOps" by Meghashyam Varan...
#ATAGTR2018 Presentation "Decoding Security in DevSecOps" by Meghashyam Varan...#ATAGTR2018 Presentation "Decoding Security in DevSecOps" by Meghashyam Varan...
#ATAGTR2018 Presentation "Decoding Security in DevSecOps" by Meghashyam Varan...
Agile Testing Alliance
 
#ATAGTR2018 Presentation "Machine Learning as a decision support system for Q...
#ATAGTR2018 Presentation "Machine Learning as a decision support system for Q...#ATAGTR2018 Presentation "Machine Learning as a decision support system for Q...
#ATAGTR2018 Presentation "Machine Learning as a decision support system for Q...
Agile Testing Alliance
 
Bring Down The Walls for Confusion - Agile and Beyond 2016
Bring Down The Walls for Confusion - Agile and Beyond 2016Bring Down The Walls for Confusion - Agile and Beyond 2016
Bring Down The Walls for Confusion - Agile and Beyond 2016
Dana Pylayeva
 

Similar to Windows automation with ansible (20)

Windows Automation with Ansible
Windows Automation with Ansible Windows Automation with Ansible
Windows Automation with Ansible
 
Salesforce: CI,CD & CT
Salesforce: CI,CD & CTSalesforce: CI,CD & CT
Salesforce: CI,CD & CT
 
DevOps In Mobility World With Microsoft Technology
DevOps In Mobility World With Microsoft Technology DevOps In Mobility World With Microsoft Technology
DevOps In Mobility World With Microsoft Technology
 
Monitoring with Prometheus
Monitoring with Prometheus Monitoring with Prometheus
Monitoring with Prometheus
 
#ATAGTR2020 Presentation - Multiplatform Test Automation Framework Solution w...
#ATAGTR2020 Presentation - Multiplatform Test Automation Framework Solution w...#ATAGTR2020 Presentation - Multiplatform Test Automation Framework Solution w...
#ATAGTR2020 Presentation - Multiplatform Test Automation Framework Solution w...
 
Making DevOps a reality for Legacy Enterprise Monolithic Products
Making DevOps a reality for Legacy Enterprise Monolithic ProductsMaking DevOps a reality for Legacy Enterprise Monolithic Products
Making DevOps a reality for Legacy Enterprise Monolithic Products
 
#ATAGTR2020 Presentation - Relish your journey to Software Testing Masterchef
#ATAGTR2020 Presentation - Relish your journey to Software Testing Masterchef#ATAGTR2020 Presentation - Relish your journey to Software Testing Masterchef
#ATAGTR2020 Presentation - Relish your journey to Software Testing Masterchef
 
#ATAGTR2020 Presentation - Redefining DevOps for seamless performance testing
#ATAGTR2020 Presentation - Redefining DevOps for seamless performance testing#ATAGTR2020 Presentation - Redefining DevOps for seamless performance testing
#ATAGTR2020 Presentation - Redefining DevOps for seamless performance testing
 
#ATAGTR2019 Presentation "Delivering Cx through Continuous Performance Assura...
#ATAGTR2019 Presentation "Delivering Cx through Continuous Performance Assura...#ATAGTR2019 Presentation "Delivering Cx through Continuous Performance Assura...
#ATAGTR2019 Presentation "Delivering Cx through Continuous Performance Assura...
 
#ATAGTR2020 Presentation - Case study for holistic approach to IoT testing
#ATAGTR2020 Presentation - Case study for holistic approach to IoT testing#ATAGTR2020 Presentation - Case study for holistic approach to IoT testing
#ATAGTR2020 Presentation - Case study for holistic approach to IoT testing
 
#ATAGTR2020 Presentation - The Splunk Integration for Futuristic NFT in DevOp...
#ATAGTR2020 Presentation - The Splunk Integration for Futuristic NFT in DevOp...#ATAGTR2020 Presentation - The Splunk Integration for Futuristic NFT in DevOp...
#ATAGTR2020 Presentation - The Splunk Integration for Futuristic NFT in DevOp...
 
#ATAGTR2020 Presentation - Adaptive Learner
#ATAGTR2020 Presentation - Adaptive Learner#ATAGTR2020 Presentation - Adaptive Learner
#ATAGTR2020 Presentation - Adaptive Learner
 
#ATAGTR2019 Presentation "iOS App Automation, GitHub and Jenkins integration"...
#ATAGTR2019 Presentation "iOS App Automation, GitHub and Jenkins integration"...#ATAGTR2019 Presentation "iOS App Automation, GitHub and Jenkins integration"...
#ATAGTR2019 Presentation "iOS App Automation, GitHub and Jenkins integration"...
 
#ATAGTR2020 Presentation - Non-Functional Testing of Chatbots
#ATAGTR2020 Presentation - Non-Functional Testing of Chatbots#ATAGTR2020 Presentation - Non-Functional Testing of Chatbots
#ATAGTR2020 Presentation - Non-Functional Testing of Chatbots
 
Robotic Process Automation
Robotic Process Automation Robotic Process Automation
Robotic Process Automation
 
#ATAGTR2018 Presentation "Design Patterns in Test Automation" By Shrinathacha...
#ATAGTR2018 Presentation "Design Patterns in Test Automation" By Shrinathacha...#ATAGTR2018 Presentation "Design Patterns in Test Automation" By Shrinathacha...
#ATAGTR2018 Presentation "Design Patterns in Test Automation" By Shrinathacha...
 
#ATAGTR2019 Presentation "Re-engineering perfmance strategy of deep learning ...
#ATAGTR2019 Presentation "Re-engineering perfmance strategy of deep learning ...#ATAGTR2019 Presentation "Re-engineering perfmance strategy of deep learning ...
#ATAGTR2019 Presentation "Re-engineering perfmance strategy of deep learning ...
 
#ATAGTR2018 Presentation "Decoding Security in DevSecOps" by Meghashyam Varan...
#ATAGTR2018 Presentation "Decoding Security in DevSecOps" by Meghashyam Varan...#ATAGTR2018 Presentation "Decoding Security in DevSecOps" by Meghashyam Varan...
#ATAGTR2018 Presentation "Decoding Security in DevSecOps" by Meghashyam Varan...
 
#ATAGTR2018 Presentation "Machine Learning as a decision support system for Q...
#ATAGTR2018 Presentation "Machine Learning as a decision support system for Q...#ATAGTR2018 Presentation "Machine Learning as a decision support system for Q...
#ATAGTR2018 Presentation "Machine Learning as a decision support system for Q...
 
Bring Down The Walls for Confusion - Agile and Beyond 2016
Bring Down The Walls for Confusion - Agile and Beyond 2016Bring Down The Walls for Confusion - Agile and Beyond 2016
Bring Down The Walls for Confusion - Agile and Beyond 2016
 

Recently uploaded

Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
ThomasParaiso2
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 

Recently uploaded (20)

Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 

Windows automation with ansible

  • 1. #DOPPA17 Windows Automation with Ansible Swapnil Dahiphale | Lokesh Jawane 9th September 2017
  • 2. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Who Am I? - Sr. DevOps Engineer at Crevise Technologies - Passionate about Learning and implementing disruptive innovations in DevOps @Swapnil2233 swapnil@crevise.com
  • 3. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Who Am I? Sr. DevOps Engineer at Crevise Technologies @lokeshjawane lokesh.jawane@crevise.com
  • 4. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Agenda - Automation - Why Automation? - Windows Automation and Challenges - Automation tools - Ansible - Principles of Ansible and How it works - User case - Demo
  • 5. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Automation “Automation is the key to successful DevOps adoption” - Change Management - Provisioning - Orchestration
  • 6. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Change Management - System State - Define - Enforce - Example - Apache web server version 2.4.x installed - PHP 5.4.x installed - Apache web server started - Webadmin user exist with authorized key - Deviation from the state would warrant a change - Ansible operations are idempotent
  • 7. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Provisioning - Built on top of Automation and Change Management - Preparing a system - Installing, updating, configuring software - Example: - Start with basic installation of OS - Update the operating system - Install the web server - Deploy the application - Configure the application - Start the web server
  • 8. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Orchestration - Orchestration is not just Automation - Coordination between systems - Order sensitive tasks - Example: - Remove web1 from LB - Run tasks on web1 - Add web1 back to LB
  • 9. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Why Automation? - We all have to do more with less! - Consistently deliver stable predictable environment - Increase number of deployments, decrease time between deployments - Deliver more secure environment - Innovate faster
  • 10. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Linux Vs Windows
  • 11. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Windows Automation
  • 12. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Windows Automation Challenges - Legacy Security Models - AD dependencies - Reboot are a pain - Typically heavy software packages - We can bootstrap to a point
  • 13. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Automation Tools
  • 14. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) You’ve probably already heard of the most common tools
  • 15. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Ansible
  • 16. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Principles of Ansible SIMPLE POWERFUL AGENTLESS Human readable automation App deployment Agentless architecture No special coding skills needed Configuration management Uses OpenSSH & WinRM Tasks executed in order Workflow orchestration No agents to exploit or update Get productive quickly Orchestrate the app lifecycle More efficient & more secure
  • 17. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) How Ansible Works?
  • 18. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Ansible concepts: Playbooks Defines sequences of tasks (Plays) to be executed on a group of hosts. - Describes policies machine under management shall enforce - Contains variables, tasks, handlers, files, templates and roles - Expressed in YAML
  • 19. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Ansible concepts: Playbooks --- - win_get_url: url: “{{ windows_server_iso }}” dest: “{{ windows_temp_path }}win20121.iso” force: yes when: win_iso.stat.exists == false - win_shell: ‘Mount-DiskImage -ImagePath “{{ windows_temp_path }}win20121.iso”’ - win_shell: ‘(Get-DiskImage -ImagePath “{{ windows_temp_path }}win20121.iso” | Get-Volume).DriveLetter’ register: drive_letter # - debug: var=drive_letter - name: net-framework-35 win_feature: name: NET-Framework-Core source: ‘{{ drive_letter.stdout_lines[0] }}:sourcessxs’ state: present
  • 20. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Ansible concepts: Playbooks --- - win_get_url: url: “{{ windows_server_iso }}” dest: “{{ windows_temp_path }}win20121.iso” force: yes when: win_iso.stat.exists == false - win_shell: ‘Mount-DiskImage -ImagePath “{{ windows_temp_path }}win20121.iso”’ - win_shell: ‘(Get-DiskImage -ImagePath “{{ windows_temp_path }}win20121.iso” | Get-Volume).DriveLetter’ register: drive_letter # - debug: var=drive_letter - name: net-framework-35 win_feature: name: NET-Framework-Core source: ‘{{ drive_letter.stdout_lines[0] }}:sourcessxs’ state: present module variable List of plays List of tasks
  • 21. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Ansible concepts: Roles Best way to organize your playbooks - Structure content into related vars, tasks, files, handlers, etc. - File structure for automated inclusion of role-specific content - Roles can be shared and pulled from Ansible Galaxy, Github, etc.
  • 22. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Ansible Tower - Product by Red Hat - Web based UI - Cloud Integration (AWS, Azure, RackSpace) - Compliance: Reporting + Auditing - Every job run is logged and can be traced - Role Based Access Control - REST API - Monitoring
  • 23. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Preparation
  • 24. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Setup Ansible on Control Node $ add-apt-repository ppa:ansible $ apt-get update $ apt-get install ansible OR $ pip install ansible
  • 25. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Limitation for Control Node - Control Node is recommended to be Linux. - Or Windows Subsystem for Linux (WSL) http://docs.ansible.com/ansible/intro_windows.html#using-a-windows-control-machine
  • 26. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Additional Setup for Controlling Windows - To control Windows Slave with local User Account, no additional setup required - To control Windows Slave with AD Account, the easiest way is to setup Kerberos $ apt-get install python-dev libkrb5-dev krb5-user $ pip install pywinrm[kerberos] $ vim /etc/krb5.conf
  • 27. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Additional Setup for the Windows Slave Nodes The older Windows require extra setup to meet basic requirements - Windows 7,8, Windows Server 2008 R2 - .Net Framework >= 4.0 (reboot required) - PowerShell >=3.0 (reboot required) - Windows Remote Management (WinRM) - Apply Hotfix for Windows 7, 8, Windows Server 2008 R2, 2012
  • 28. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) What About Linux Slave? Nope… There’s no prerequisites for linux slave, except login user account ;-)
  • 29. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Use case Setting up private cloud for an enterprise client. - Challenges: - Strict and close timelines, RHEL, Windows and all integration points automation, Security, Compliance and testing in a restricted environment. - Solution: - Provisioning of VMs is done with CloudForms - Configurations on RHEL and Windows VMs is done with Ansible - Network related activities are automated with Ansible - Integration with Hitachi Data Systems automated with Ansible
  • 30. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Use case
  • 31. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Use case Things Automated - OS Hardening - Updates and patches - Antivirus Configuration - Joining VM to Active Directory - Installation of softwares like MSSQL - Windows clustering and MSSQL cluster confuguration - ...
  • 32. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Demo
  • 33. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Ansible makes automating Windows easier! Conclusion
  • 34. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) Questions?
  • 35. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) github.com/swapnildahiphale linkedin.com/in/swapnil2233 @Swapnil2233 swapnil@crevise.com Thank You!
  • 36. #DOPPA17 As the author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media marketing, publishing it on ATA Blog or ATA social medial channels - (Provided due credit is given to me/us) References http://docs.ansible.com/ansible/intro_windows.html#using-a-windows-control-machine http://docs.ansible.com/ansible/latest/intro_windows.html