SlideShare a Scribd company logo
1 of 10
Download to read offline
What’s new in Ansible
v2.10?
Ompragash Viswanathan
https://www.linkedin.com/in/ompragash/
Most of the Ansible elements are split
off from the base repo and made into
Ansible Content Collections or
Collections.
Ansible-Base 2.10:
- It’s only the execution engine (i.e. the boiler plate code along with executable binaries
ansible, ansible-playbook, ansible-galaxy, etc)
- Contains very small set of built in plugins
Installing ansible-base
$ pip install ansible-base==2.10.0b1 --user
Ansible Content Collections or Collections:
- A Collection is new distribution format to package and deliver all types of Ansible content.
- Components are well defined as there is a standard for the directory structure.
- Collections can be installed using ansible-galaxy utility.
- By default collections are installed in path ~/.ansible/collections/ansible_collections/
Installing Collections:
$ ansible-galaxy collection install my_namespace.my_collection
Or
$ cat requirements.yml
---
collections:
- my_namespace.my_collection
$ ansible-galaxy install -r requirements.yml
Collections Directory
Structure:
How to access the contents from Ansible Collections?
- A content in Ansible Collections is accessed with namespace name.
Example:
my_namespace.my_collection
amazon.aws
Here,
amazon is the namespace name
aws is the collection name
Now, to access the modules from amazon.aws you have to
use the Fully Qualified Collection Name(aka FQCN)
my_namespace.my_collection.my_module
amazon.aws.ec2
Documentation: ansible-doc amazon.aws.ec2
Ansible-2.10 Alpha:
- Ansible Community Team released Ansible-2.10 Alpha on 18th June 2020
- It’s also known Ansible Community Distribution (aka ACD)
- The roles and playbooks that you currently use should work out of the box.
- Collections that are part of Ansible-2.10 Alpha are installed in path:
/tmp/virtualenv/lib/python3.6/site-packages/ansible
(Just to clear the air /tmp/virtualenv is a python virtual environment)
- Ansible 2.10.0a1 Alpha includes the ansible-base package plus a range of Ansible Collections.
List of Collections included in Ansible-2.10 Alpha can be found here:
https://github.com/ansible-community/ansible-build-data/blob/2.10.0a1/2.10/acd-2.10.0a1.deps
Installing Ansible-2.10 Alpha:
$ pip install ansible==2.10.0a1 --user
Useful Links:
Ansible Collections Overview
https://github.com/ansible-collections/overview#ansible-collections-overview
Developing Collections
https://docs.ansible.com/ansible/latest/dev_guide/developing_collections.html
https://youtu.be/EqHaZ10NFS4
Using Ansible Collections
https://docs.ansible.com/ansible/latest/user_guide/collections_using.html
Thanks for watching!

More Related Content

What's hot

Ansible automation tool with modules
Ansible automation tool with modulesAnsible automation tool with modules
Ansible automation tool with modules
mohamedmoharam
 
Replication features, technologies and 3rd party Extinction
Replication features, technologies and 3rd party ExtinctionReplication features, technologies and 3rd party Extinction
Replication features, technologies and 3rd party Extinction
Ben Mildren
 
Diva23
Diva23Diva23
Diva23
diva23
 

What's hot (19)

Your first rails app - 2
 Your first rails app - 2 Your first rails app - 2
Your first rails app - 2
 
ansible why ?
ansible why ?ansible why ?
ansible why ?
 
Ansible + WordPress - WordCamp Toronto 2016
Ansible + WordPress - WordCamp Toronto 2016Ansible + WordPress - WordCamp Toronto 2016
Ansible + WordPress - WordCamp Toronto 2016
 
Generators
GeneratorsGenerators
Generators
 
Managing MySQL with Ansible
Managing MySQL with AnsibleManaging MySQL with Ansible
Managing MySQL with Ansible
 
Breaking Up With Your Data Center Presentation
Breaking Up With Your Data Center PresentationBreaking Up With Your Data Center Presentation
Breaking Up With Your Data Center Presentation
 
C make cache
C make cacheC make cache
C make cache
 
Basics of Ansible - Sahil Davawala
Basics of Ansible - Sahil DavawalaBasics of Ansible - Sahil Davawala
Basics of Ansible - Sahil Davawala
 
Creating Perl modules with Dist::Zilla
Creating Perl modules with Dist::ZillaCreating Perl modules with Dist::Zilla
Creating Perl modules with Dist::Zilla
 
My First MOJO Plugin
My First MOJO PluginMy First MOJO Plugin
My First MOJO Plugin
 
Rails Page Caching
Rails Page CachingRails Page Caching
Rails Page Caching
 
Ansible automation tool with modules
Ansible automation tool with modulesAnsible automation tool with modules
Ansible automation tool with modules
 
Httpd.conf
Httpd.confHttpd.conf
Httpd.conf
 
Appache.ppt
Appache.pptAppache.ppt
Appache.ppt
 
Replication features, technologies and 3rd party Extinction
Replication features, technologies and 3rd party ExtinctionReplication features, technologies and 3rd party Extinction
Replication features, technologies and 3rd party Extinction
 
Intro to Rails
Intro to Rails Intro to Rails
Intro to Rails
 
Chef
ChefChef
Chef
 
Diva23
Diva23Diva23
Diva23
 
Automating the Cloud with Terraform, and Ansible
Automating the Cloud with Terraform, and AnsibleAutomating the Cloud with Terraform, and Ansible
Automating the Cloud with Terraform, and Ansible
 

Similar to What's new in Ansible v2.10?

Similar to What's new in Ansible v2.10? (20)

Ansible Devops North East - slides
Ansible Devops North East - slides Ansible Devops North East - slides
Ansible Devops North East - slides
 
Ansible day 1.ppt
Ansible day 1.pptAnsible day 1.ppt
Ansible day 1.ppt
 
Ansible day 1.ppt
Ansible day 1.pptAnsible day 1.ppt
Ansible day 1.ppt
 
Using Ansible Dynamic Inventory with Amazon EC2
Using Ansible Dynamic Inventory with Amazon EC2Using Ansible Dynamic Inventory with Amazon EC2
Using Ansible Dynamic Inventory with Amazon EC2
 
Ansible container
Ansible containerAnsible container
Ansible container
 
Getting Started with Kubernetes on AWS
Getting Started with Kubernetes on AWSGetting Started with Kubernetes on AWS
Getting Started with Kubernetes on AWS
 
Ansible Network Automation session1
Ansible Network Automation session1Ansible Network Automation session1
Ansible Network Automation session1
 
Extending ansible
Extending ansibleExtending ansible
Extending ansible
 
Running kubernetes
Running kubernetesRunning kubernetes
Running kubernetes
 
A quick intro to Ansible
A quick intro to AnsibleA quick intro to Ansible
A quick intro to Ansible
 
Top 50 Ansible Interview Questions And Answers in 2023.pdf
Top 50 Ansible Interview Questions And Answers in 2023.pdfTop 50 Ansible Interview Questions And Answers in 2023.pdf
Top 50 Ansible Interview Questions And Answers in 2023.pdf
 
Medicine show2 Drupal Bristol Camp 2015
Medicine show2 Drupal Bristol Camp 2015Medicine show2 Drupal Bristol Camp 2015
Medicine show2 Drupal Bristol Camp 2015
 
Ansible
AnsibleAnsible
Ansible
 
Automation on IBM Power with Ansible
Automation on IBM Power with AnsibleAutomation on IBM Power with Ansible
Automation on IBM Power with Ansible
 
Continuous Integration and DevOps with Open Build Service(OBS)
Continuous Integration and DevOps with Open Build Service(OBS)Continuous Integration and DevOps with Open Build Service(OBS)
Continuous Integration and DevOps with Open Build Service(OBS)
 
Ansible_Basics_ppt.pdf
Ansible_Basics_ppt.pdfAnsible_Basics_ppt.pdf
Ansible_Basics_ppt.pdf
 
Introduction to Ansible
Introduction to AnsibleIntroduction to Ansible
Introduction to Ansible
 
Ansible & Salt - Vincent Boon
Ansible & Salt - Vincent BoonAnsible & Salt - Vincent Boon
Ansible & Salt - Vincent Boon
 
Montreal ansible meetup april 17th, 2019
Montreal ansible meetup   april 17th, 2019Montreal ansible meetup   april 17th, 2019
Montreal ansible meetup april 17th, 2019
 
From 0 to 60 with kubernetes and istio
From 0 to 60 with kubernetes and istioFrom 0 to 60 with kubernetes and istio
From 0 to 60 with kubernetes and istio
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

What's new in Ansible v2.10?

  • 1. What’s new in Ansible v2.10? Ompragash Viswanathan https://www.linkedin.com/in/ompragash/
  • 2. Most of the Ansible elements are split off from the base repo and made into Ansible Content Collections or Collections.
  • 3. Ansible-Base 2.10: - It’s only the execution engine (i.e. the boiler plate code along with executable binaries ansible, ansible-playbook, ansible-galaxy, etc) - Contains very small set of built in plugins Installing ansible-base $ pip install ansible-base==2.10.0b1 --user
  • 4. Ansible Content Collections or Collections: - A Collection is new distribution format to package and deliver all types of Ansible content. - Components are well defined as there is a standard for the directory structure. - Collections can be installed using ansible-galaxy utility. - By default collections are installed in path ~/.ansible/collections/ansible_collections/ Installing Collections: $ ansible-galaxy collection install my_namespace.my_collection Or $ cat requirements.yml --- collections: - my_namespace.my_collection $ ansible-galaxy install -r requirements.yml
  • 6. How to access the contents from Ansible Collections? - A content in Ansible Collections is accessed with namespace name. Example: my_namespace.my_collection amazon.aws Here, amazon is the namespace name aws is the collection name Now, to access the modules from amazon.aws you have to use the Fully Qualified Collection Name(aka FQCN) my_namespace.my_collection.my_module amazon.aws.ec2 Documentation: ansible-doc amazon.aws.ec2
  • 7. Ansible-2.10 Alpha: - Ansible Community Team released Ansible-2.10 Alpha on 18th June 2020 - It’s also known Ansible Community Distribution (aka ACD) - The roles and playbooks that you currently use should work out of the box. - Collections that are part of Ansible-2.10 Alpha are installed in path: /tmp/virtualenv/lib/python3.6/site-packages/ansible (Just to clear the air /tmp/virtualenv is a python virtual environment) - Ansible 2.10.0a1 Alpha includes the ansible-base package plus a range of Ansible Collections. List of Collections included in Ansible-2.10 Alpha can be found here: https://github.com/ansible-community/ansible-build-data/blob/2.10.0a1/2.10/acd-2.10.0a1.deps
  • 8. Installing Ansible-2.10 Alpha: $ pip install ansible==2.10.0a1 --user
  • 9. Useful Links: Ansible Collections Overview https://github.com/ansible-collections/overview#ansible-collections-overview Developing Collections https://docs.ansible.com/ansible/latest/dev_guide/developing_collections.html https://youtu.be/EqHaZ10NFS4 Using Ansible Collections https://docs.ansible.com/ansible/latest/user_guide/collections_using.html