SlideShare a Scribd company logo
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

Your first rails app - 2
 Your first rails app - 2 Your first rails app - 2
Your first rails app - 2
Blazing Cloud
 
ansible why ?
ansible why ?ansible why ?
ansible why ?
Yashar Esmaildokht
 
Ansible + WordPress - WordCamp Toronto 2016
Ansible + WordPress - WordCamp Toronto 2016Ansible + WordPress - WordCamp Toronto 2016
Ansible + WordPress - WordCamp Toronto 2016
Alan Lok
 
Generators
GeneratorsGenerators
Generators
Allan Davis
 
Managing MySQL with Ansible
Managing MySQL with AnsibleManaging MySQL with Ansible
Managing MySQL with Ansible
Ben Mildren
 
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
Telescope_Inc
 
C make cache
C make cacheC make cache
C make cache
javad lordoff
 
Basics of Ansible - Sahil Davawala
Basics of Ansible - Sahil DavawalaBasics of Ansible - Sahil Davawala
Basics of Ansible - Sahil Davawala
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
Mark Gardner
 
My First MOJO Plugin
My First MOJO PluginMy First MOJO Plugin
My First MOJO Plugin
Scheidt & Bachmann
 
Rails Page Caching
Rails Page CachingRails Page Caching
Rails Page Caching
Travis Roberts
 
Ansible automation tool with modules
Ansible automation tool with modulesAnsible automation tool with modules
Ansible automation tool with modules
mohamedmoharam
 
Httpd.conf
Httpd.confHttpd.conf
Httpd.conf
ayanoaccount
 
Appache.ppt
Appache.pptAppache.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
Ben Mildren
 
Intro to Rails
Intro to Rails Intro to Rails
Intro to Rails
epiineg1
 
Chef
ChefChef
Diva23
Diva23Diva23
Diva23
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
Brian Hogan
 

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?

CI CD benefit Splunk search head cluster using Ansible and GitLab as the repo...
CI CD benefit Splunk search head cluster using Ansible and GitLab as the repo...CI CD benefit Splunk search head cluster using Ansible and GitLab as the repo...
CI CD benefit Splunk search head cluster using Ansible and GitLab as the repo...
ZoumanaDiomande1
 
Ansible Devops North East - slides
Ansible Devops North East - slides Ansible Devops North East - slides
Ansible Devops North East - slides
InfinityPP
 
Ansible day 1.ppt
Ansible day 1.pptAnsible day 1.ppt
Ansible day 1.ppt
Gourav Varma
 
Ansible day 1.ppt
Ansible day 1.pptAnsible day 1.ppt
Ansible day 1.ppt
Kalkey
 
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
Brian Schott
 
Ansible container
Ansible containerAnsible container
Ansible container
Scott van Kalken
 
Getting Started with Kubernetes on AWS
Getting Started with Kubernetes on AWSGetting Started with Kubernetes on AWS
Getting Started with Kubernetes on AWS
Amazon Web Services
 
Ansible Network Automation session1
Ansible Network Automation session1Ansible Network Automation session1
Ansible Network Automation session1
Dhruv Sharma
 
Extending ansible
Extending ansibleExtending ansible
Extending ansible
Yan Kurniawan
 
Running kubernetes
Running kubernetesRunning kubernetes
Running kubernetes
Mustafa Kırımlı
 
A quick intro to Ansible
A quick intro to AnsibleA quick intro to Ansible
A quick intro to Ansible
Dan Vaida
 
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
Datacademy.ai
 
Medicine show2 Drupal Bristol Camp 2015
Medicine show2 Drupal Bristol Camp 2015Medicine show2 Drupal Bristol Camp 2015
Medicine show2 Drupal Bristol Camp 2015
George Boobyer
 
Ansible
AnsibleAnsible
Ansible
Rahul Bajaj
 
Automation on IBM Power with Ansible
Automation on IBM Power with AnsibleAutomation on IBM Power with Ansible
Automation on IBM Power with Ansible
Travis Haasch
 
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)
Ralf Dannert
 
Ansible_Basics_ppt.pdf
Ansible_Basics_ppt.pdfAnsible_Basics_ppt.pdf
Ansible_Basics_ppt.pdf
PrabhjotSingh976002
 
Introduction to Ansible
Introduction to AnsibleIntroduction to Ansible
Introduction to Ansible
CoreStack
 
Ansible & Salt - Vincent Boon
Ansible & Salt - Vincent BoonAnsible & Salt - Vincent Boon
Ansible & Salt - Vincent Boon
MyNOG
 
Montreal ansible meetup april 17th, 2019
Montreal ansible meetup   april 17th, 2019Montreal ansible meetup   april 17th, 2019
Montreal ansible meetup april 17th, 2019
Gonéri Le Bouder
 

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

CI CD benefit Splunk search head cluster using Ansible and GitLab as the repo...
CI CD benefit Splunk search head cluster using Ansible and GitLab as the repo...CI CD benefit Splunk search head cluster using Ansible and GitLab as the repo...
CI CD benefit Splunk search head cluster using Ansible and GitLab as the repo...
 
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
 

Recently uploaded

Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
Zilliz
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
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
 

Recently uploaded (20)

Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
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
 

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