This Presentation is an introducing to the IT automation environment, starting from a sys admin point of view.
The purpose of these tools is to help in troubleshooting and handling an heterogeneous it environment to ensure availability and reliability.
Infrastructure as code is an approach to managing servers where their configuration is defined using code and version control rather than manual shell commands. Ansible is a tool that allows defining servers' desired state in YAML files checked into version control. It can automatically install software, configure systems, and ensure consistency across multiple servers using SSH without requiring an agent. Playbooks declare tasks to run that are idempotent, allowing Ansible to safely deploy changes. This approach improves on manual configuration by enabling testing, collaboration, and rolling back changes if needed.
#OktoCampus - Workshop : An introduction to AnsibleCédric Delgehier
- A playbook is defined to check if a pattern is present in the content of a web page retrieved from localhost. The playbook registers the content and fails if the defined pattern is not found.
- The playbook is modified to define different patterns for different host groups - the groups "prod" and "recette" would each have their own unique pattern to check for.
- The playbook uses Ansible modules like uri to retrieve a web page, register to store the content, and fail if a registered pattern is not found in the content. Variables and conditionals allow defining patterns dynamically based on host groups.
A revamped version of the Ansible intro talk from February 2015, brought up-to-date for the January Ansible meetup in Berlin.
Join our group: https://www.meetup.com/Ansible-Berlin
Application construction is great with Ansible, using it for docker helps fight complexity, improves maintainability. And playbooks are portable from docker to cloud.
Presentation of my TechTalk at eSapce (Every Thursday one of the departments make a session about something recently begun to use or a new technology, this was my session from SysOps team.) This is an introduction to Ansible, and how to get started with it ... and since then we moved to Ansible :-)
Ansible is a great tool for many purposes like: configuration management, contentious deployment, and multi-tier orchestration ... and more!
- http://tech.aabouzaid.com/
- http://espace.com.eg/
- http://ansible.com/
This document provides an overview of Ansible, an open source tool for configuration management and application deployment. It discusses how Ansible aims to simplify infrastructure automation tasks through a model-driven approach without requiring developers to learn DevOps tools. Key points:
- Ansible uses YAML playbooks to declaratively define server configurations and deployments in an idempotent and scalable way.
- It provides ad-hoc command execution and setup facts gathering via SSH. Playbooks can target groups of servers to orchestrate complex multi-server tasks.
- Variables, templates, conditionals allow playbooks to customize configurations for different environments. Plugins support integration with cloud, monitoring, messaging tools.
- Ansible aims to reduce complexity compared
This document provides an introduction to Ansible, describing it as a simple and lightweight automation tool that can be used to execute one-time tasks, perform system administration tasks, and configure servers and routers. It discusses Ansible's key features including being written in Python, being open source, and being easy to install and use. It also provides information on installing and configuring Ansible on various operating systems as well as how to use ad-hoc commands and playbooks with Ansible.
This document discusses Ansible, an open-source automation tool. It provides an overview of Ansible's capabilities including configuration management, orchestration, deployment and more. It also summarizes Ansible Tower which adds centralized control, RBAC, and other features to Ansible. Examples are given of using Ansible playbooks to automate tasks like installing and configuring Apache on Linux hosts and using Ansible modules to configure network devices.
Infrastructure as code is an approach to managing servers where their configuration is defined using code and version control rather than manual shell commands. Ansible is a tool that allows defining servers' desired state in YAML files checked into version control. It can automatically install software, configure systems, and ensure consistency across multiple servers using SSH without requiring an agent. Playbooks declare tasks to run that are idempotent, allowing Ansible to safely deploy changes. This approach improves on manual configuration by enabling testing, collaboration, and rolling back changes if needed.
#OktoCampus - Workshop : An introduction to AnsibleCédric Delgehier
- A playbook is defined to check if a pattern is present in the content of a web page retrieved from localhost. The playbook registers the content and fails if the defined pattern is not found.
- The playbook is modified to define different patterns for different host groups - the groups "prod" and "recette" would each have their own unique pattern to check for.
- The playbook uses Ansible modules like uri to retrieve a web page, register to store the content, and fail if a registered pattern is not found in the content. Variables and conditionals allow defining patterns dynamically based on host groups.
A revamped version of the Ansible intro talk from February 2015, brought up-to-date for the January Ansible meetup in Berlin.
Join our group: https://www.meetup.com/Ansible-Berlin
Application construction is great with Ansible, using it for docker helps fight complexity, improves maintainability. And playbooks are portable from docker to cloud.
Presentation of my TechTalk at eSapce (Every Thursday one of the departments make a session about something recently begun to use or a new technology, this was my session from SysOps team.) This is an introduction to Ansible, and how to get started with it ... and since then we moved to Ansible :-)
Ansible is a great tool for many purposes like: configuration management, contentious deployment, and multi-tier orchestration ... and more!
- http://tech.aabouzaid.com/
- http://espace.com.eg/
- http://ansible.com/
This document provides an overview of Ansible, an open source tool for configuration management and application deployment. It discusses how Ansible aims to simplify infrastructure automation tasks through a model-driven approach without requiring developers to learn DevOps tools. Key points:
- Ansible uses YAML playbooks to declaratively define server configurations and deployments in an idempotent and scalable way.
- It provides ad-hoc command execution and setup facts gathering via SSH. Playbooks can target groups of servers to orchestrate complex multi-server tasks.
- Variables, templates, conditionals allow playbooks to customize configurations for different environments. Plugins support integration with cloud, monitoring, messaging tools.
- Ansible aims to reduce complexity compared
This document provides an introduction to Ansible, describing it as a simple and lightweight automation tool that can be used to execute one-time tasks, perform system administration tasks, and configure servers and routers. It discusses Ansible's key features including being written in Python, being open source, and being easy to install and use. It also provides information on installing and configuring Ansible on various operating systems as well as how to use ad-hoc commands and playbooks with Ansible.
This document discusses Ansible, an open-source automation tool. It provides an overview of Ansible's capabilities including configuration management, orchestration, deployment and more. It also summarizes Ansible Tower which adds centralized control, RBAC, and other features to Ansible. Examples are given of using Ansible playbooks to automate tasks like installing and configuring Apache on Linux hosts and using Ansible modules to configure network devices.
Yesterday I gave presentation on Ansible and it was successful . It give basic understanding of playbook and an example implementation of jboss application from scratch
Ansible Automation Best Practices From Startups to Enterprises - Minnebar 12Keith Resar
This document provides an introduction to Ansible, describing it as an automation tool capable of handling many powerful automation tasks. It discusses how Ansible works using Playbooks written in YAML to execute tasks sequentially on managed nodes. Playbooks allow describing an entire infrastructure and orchestrating application deployment, configuration management, and workflow tasks in an agentless manner using OpenSSH and WinRM.
Anas Tarsha presented on using Ansible for network automation. Ansible is an open source automation tool that is agentless and uses simple YAML files called playbooks to execute tasks sequentially. It can be used to generate device configurations, push configurations, collect running configs, upgrade devices, and more. Ansible modules run Python code directly on network devices to perform tasks. The demo showed using Ansible modules like ping, ios_command, and junos_command to execute show commands and change the hostname on both IOS and Junos devices. Additional resources were provided to learn more about using Ansible for network automation.
This document provides an overview of IT automation using Ansible. It discusses using Ansible to automate tasks across multiple servers like installing packages and copying files without needing to login to each server individually. It also covers Ansible concepts like playbooks, variables, modules, and vault for securely storing passwords. Playbooks allow defining automation jobs as code that can be run on multiple servers simultaneously in a consistent and repeatable way.
This document provides an overview of Ansible, an open source automation tool. It discusses Ansible's core components like playbooks, roles, variables and modules. It also covers how to use Ansible for tasks like configuration management, deployment, security and continuous delivery. Finally, it mentions ways to get started with Ansible including using command line tools, the galaxy module to share roles and vault to protect sensitive data.
DevOpsDaysCPT Ansible Infrastrucutre as Code 2017Jumping Bean
An overview of the LPI-OT DevOps Tools Engineer certification's Ansible objectives. The slides cover the concepts and components of Ansible and demonstrate the basic principles of any infrastructure as code management tool such as idempotence and repeatability.
'Ansible Roles done right' is a talk about "Applying TDD while writing roles. Automatic tests powered by Continuous Integration + containers. Quick demo of the new ansible-container." Funny title: "When your applications don't have tests, at least your infrastructure does..."
This document provides an introduction and overview of Ansible, an open-source automation tool. It discusses how Ansible uses an agentless architecture with YAML files to automate configuration management and deployment tasks across multiple servers. The document also outlines key Ansible concepts like inventory files, modules, playbooks and components that make up playbooks like tasks, handlers, templates and roles.
This document discusses how Ansible can be used to configure infrastructure and deploy applications faster and more reliably. It provides an overview of key Ansible concepts like playbooks, tasks, roles, and dynamic inventories. It also summarizes how to install Ansible, write a sample Apache playbook, use roles for reusability, and find community roles on Ansible Galaxy. Advanced topics covered include testing infrastructure code, the Drupal VM project, and how to write custom Ansible modules.
Title: Ansible, best practices.
Ansible has taken a prominent place in the configmanagement world. By now many people involved in DevOps have taken a look at it, or done a first project with it. Now it is time to step back and look at quality and craftmanship. Bas Meijer, Ansible ambassador, will talk about Ansible best practices, and will show tips, tricks and examples based on several projects.
About the speaker
Bas is a systems engineer and software developer and wasted decades on latenight hacking. He is currently helping out 2 enterprises with continuous delivery and devops.
Ansible is the simplest way to automate. MoldCamp, 2015Alex S
Ansible is a radically simple IT automation engine. This is new and great configuration management system (like Chef, Puppet) that has been created in 2012 year. Also Ansible is pretty simple and flexible system, that helps you in managing your servers and execute Ad-hoc commands.
During this session I will explain how to start using Ansible in infrastructure orchestration and what are pros and cons of this system. Also I will explain you our experience in deployments, provisioning and other aspects.
This document provides an overview of Ansible, an open source tool for configuration management and application deployment. It discusses how Ansible works using simple YAML playbooks to define configurations and execute tasks across nodes in an automated and agentless manner. The document also covers key Ansible concepts like modules, inventory, roles, conditionals and loops. It provides instructions on installing Ansible via pip, yum or apt and highlights many of Ansible's core modules.
This document discusses infrastructure automation using Ansible. It provides context on the team size and environment. It then outlines the goals of quality, rapid iteration, and safety. It discusses establishing a style guide to help with code reviews, testing, and working as a team. The style guide covers naming conventions, variable prefixes, documentation, and more. It also covers testing roles, playbooks, deployments, and tips and tricks learned along the way.
I presented this slides at the Ansible Munich Meetup on Feb 22cd 2016. You can find the recording of the talk here: https://www.youtube.com/watch?v=B7K1ETPyzoQ (starts at 1:18). This talk is giving a 101 level introduction on developing Ansible Module in Python.
Ansible is an automation platform that allows users to configure, deploy, and manage applications on servers. It combines multi-node software deployment, configuration management, and task execution. Ansible works by provisioning machines using SSH and executing commands via modules. Playbooks allow users to automate complex deployment workflows through YAML scripts. Roles in Ansible allow for reusable and modular components.
From Ansible's website: "Ansible is a radically simple IT automation engine that automates cloud provisioning, configuration management, application deployment, intra-service orchestration, and many other IT needs."
This introduction is based on ansible official docs, capturing most important information to make it easy to understand Ansible main concepts.
Sally and Leo use infrastructure as code practices like Cucumber, ServerSpec, Vagrant, and Ansible to automate the provisioning and configuration of a web server. They write behavior tests in Cucumber and infrastructure tests in ServerSpec. Vagrant is used to provision a virtual machine, and Ansible configures the server. By tying the tests to the provisioning code, they can now repeatedly build servers that are known to meet requirements.
Ansible- Durham Meetup: Using Ansible for Cisco ACI deploymentJoel W. King
Networks are evolving from hundreds or thousands of individual devices to the Software-Defined Network paradigm of a single fabric under a central controller.
The GUI on top of an SDN controller isn't sufficient and we will still need automation. This presentation describes how Ansible can add value to configuration management of a Cisco Application Centric Infrastructure (ACI) infrastructure. It demonstrates how Ansible modules can use the northbound REST API interface of the Application Policy Infrastructure Controller (APIC).
Ansible role reuse - promising but hardMartin Maisey
Role reuse: promising but hard - Martin Maisey.
- Why we love Ansible
- Why Galaxy doesn’t always work for us at the moment
- What makes a good role?
- How could we/Ansible Inc make Galaxy and Ansible’s metadata format better?
Presented at Ansible Meetup London 27/11/14 - see http://www.meetup.com/Ansible-London/events/218679344/
Yesterday I gave presentation on Ansible and it was successful . It give basic understanding of playbook and an example implementation of jboss application from scratch
Ansible Automation Best Practices From Startups to Enterprises - Minnebar 12Keith Resar
This document provides an introduction to Ansible, describing it as an automation tool capable of handling many powerful automation tasks. It discusses how Ansible works using Playbooks written in YAML to execute tasks sequentially on managed nodes. Playbooks allow describing an entire infrastructure and orchestrating application deployment, configuration management, and workflow tasks in an agentless manner using OpenSSH and WinRM.
Anas Tarsha presented on using Ansible for network automation. Ansible is an open source automation tool that is agentless and uses simple YAML files called playbooks to execute tasks sequentially. It can be used to generate device configurations, push configurations, collect running configs, upgrade devices, and more. Ansible modules run Python code directly on network devices to perform tasks. The demo showed using Ansible modules like ping, ios_command, and junos_command to execute show commands and change the hostname on both IOS and Junos devices. Additional resources were provided to learn more about using Ansible for network automation.
This document provides an overview of IT automation using Ansible. It discusses using Ansible to automate tasks across multiple servers like installing packages and copying files without needing to login to each server individually. It also covers Ansible concepts like playbooks, variables, modules, and vault for securely storing passwords. Playbooks allow defining automation jobs as code that can be run on multiple servers simultaneously in a consistent and repeatable way.
This document provides an overview of Ansible, an open source automation tool. It discusses Ansible's core components like playbooks, roles, variables and modules. It also covers how to use Ansible for tasks like configuration management, deployment, security and continuous delivery. Finally, it mentions ways to get started with Ansible including using command line tools, the galaxy module to share roles and vault to protect sensitive data.
DevOpsDaysCPT Ansible Infrastrucutre as Code 2017Jumping Bean
An overview of the LPI-OT DevOps Tools Engineer certification's Ansible objectives. The slides cover the concepts and components of Ansible and demonstrate the basic principles of any infrastructure as code management tool such as idempotence and repeatability.
'Ansible Roles done right' is a talk about "Applying TDD while writing roles. Automatic tests powered by Continuous Integration + containers. Quick demo of the new ansible-container." Funny title: "When your applications don't have tests, at least your infrastructure does..."
This document provides an introduction and overview of Ansible, an open-source automation tool. It discusses how Ansible uses an agentless architecture with YAML files to automate configuration management and deployment tasks across multiple servers. The document also outlines key Ansible concepts like inventory files, modules, playbooks and components that make up playbooks like tasks, handlers, templates and roles.
This document discusses how Ansible can be used to configure infrastructure and deploy applications faster and more reliably. It provides an overview of key Ansible concepts like playbooks, tasks, roles, and dynamic inventories. It also summarizes how to install Ansible, write a sample Apache playbook, use roles for reusability, and find community roles on Ansible Galaxy. Advanced topics covered include testing infrastructure code, the Drupal VM project, and how to write custom Ansible modules.
Title: Ansible, best practices.
Ansible has taken a prominent place in the configmanagement world. By now many people involved in DevOps have taken a look at it, or done a first project with it. Now it is time to step back and look at quality and craftmanship. Bas Meijer, Ansible ambassador, will talk about Ansible best practices, and will show tips, tricks and examples based on several projects.
About the speaker
Bas is a systems engineer and software developer and wasted decades on latenight hacking. He is currently helping out 2 enterprises with continuous delivery and devops.
Ansible is the simplest way to automate. MoldCamp, 2015Alex S
Ansible is a radically simple IT automation engine. This is new and great configuration management system (like Chef, Puppet) that has been created in 2012 year. Also Ansible is pretty simple and flexible system, that helps you in managing your servers and execute Ad-hoc commands.
During this session I will explain how to start using Ansible in infrastructure orchestration and what are pros and cons of this system. Also I will explain you our experience in deployments, provisioning and other aspects.
This document provides an overview of Ansible, an open source tool for configuration management and application deployment. It discusses how Ansible works using simple YAML playbooks to define configurations and execute tasks across nodes in an automated and agentless manner. The document also covers key Ansible concepts like modules, inventory, roles, conditionals and loops. It provides instructions on installing Ansible via pip, yum or apt and highlights many of Ansible's core modules.
This document discusses infrastructure automation using Ansible. It provides context on the team size and environment. It then outlines the goals of quality, rapid iteration, and safety. It discusses establishing a style guide to help with code reviews, testing, and working as a team. The style guide covers naming conventions, variable prefixes, documentation, and more. It also covers testing roles, playbooks, deployments, and tips and tricks learned along the way.
I presented this slides at the Ansible Munich Meetup on Feb 22cd 2016. You can find the recording of the talk here: https://www.youtube.com/watch?v=B7K1ETPyzoQ (starts at 1:18). This talk is giving a 101 level introduction on developing Ansible Module in Python.
Ansible is an automation platform that allows users to configure, deploy, and manage applications on servers. It combines multi-node software deployment, configuration management, and task execution. Ansible works by provisioning machines using SSH and executing commands via modules. Playbooks allow users to automate complex deployment workflows through YAML scripts. Roles in Ansible allow for reusable and modular components.
From Ansible's website: "Ansible is a radically simple IT automation engine that automates cloud provisioning, configuration management, application deployment, intra-service orchestration, and many other IT needs."
This introduction is based on ansible official docs, capturing most important information to make it easy to understand Ansible main concepts.
Sally and Leo use infrastructure as code practices like Cucumber, ServerSpec, Vagrant, and Ansible to automate the provisioning and configuration of a web server. They write behavior tests in Cucumber and infrastructure tests in ServerSpec. Vagrant is used to provision a virtual machine, and Ansible configures the server. By tying the tests to the provisioning code, they can now repeatedly build servers that are known to meet requirements.
Ansible- Durham Meetup: Using Ansible for Cisco ACI deploymentJoel W. King
Networks are evolving from hundreds or thousands of individual devices to the Software-Defined Network paradigm of a single fabric under a central controller.
The GUI on top of an SDN controller isn't sufficient and we will still need automation. This presentation describes how Ansible can add value to configuration management of a Cisco Application Centric Infrastructure (ACI) infrastructure. It demonstrates how Ansible modules can use the northbound REST API interface of the Application Policy Infrastructure Controller (APIC).
Ansible role reuse - promising but hardMartin Maisey
Role reuse: promising but hard - Martin Maisey.
- Why we love Ansible
- Why Galaxy doesn’t always work for us at the moment
- What makes a good role?
- How could we/Ansible Inc make Galaxy and Ansible’s metadata format better?
Presented at Ansible Meetup London 27/11/14 - see http://www.meetup.com/Ansible-London/events/218679344/
Machine Learning for Your Enterprise: Operations and Security for Mainframe E...Precisely
Today’s enterprises with mainframes and Cloud/server architectures are facing new issues and challenges, among the top of which are security and automation of operations. As the sheer amount of data housed on mainframes rises, daily operations have become more complex and more difficult to handle manually.
Whether you’re a CIO, CISO, VP of Infrastructure and/or Operations, or an all-important IT practitioner, you need new ways to approach and address these challenges as well as the opportunities that come with driving this type of change. In this webcast, you’ll learn:
• What is Machine Learning: The Vision vs. Reality
• The Challenges Driving Automated Mainframe Operations
• Use Cases for Machine Learning at Mainframe Enterprises
The document discusses redefining the role of developers to achieve success for all. It suggests developers take on additional roles beyond just coding, such as acting as scrum masters, devil's advocates during reviews, and helping with testing and quality assurance. This new "Developer 2.0" approach would benefit developers by expanding their skills, benefit QA engineers by getting additional help, and benefit the overall organization by encouraging collaboration across roles.
The document outlines the steps to integrate LDAP with Mule Management Console (MMC) for user authentication and authorization. The steps are: 1) Obtain LDAP parameters like host, port, credentials from the LDAP admin. 2) Create user groups on LDAP. 3) Create matching groups on MMC. 4) Enable the LDAP Spring profile in MMC's web.xml. 5) Configure MMC's mmc-ldap.properties file to connect to LDAP. 6) Place the spring-ldap jar in MMC's lib folder. 7) Restart MMC.
Dynamic access control sbc12 - thuan nguyenThuan Ng
The document discusses data access control and compliance. It introduces dynamic access control capabilities in Windows Server 2012 that can authorize only authorized individuals to access confidential data. It discusses challenges around data compliance, regulatory standards, and granular control over auditing access. The document then demonstrates how to use features like data classification, expression-based auditing and access conditions, and encryption to address these challenges. It provides examples of using these features to audit specific types of access, control access based on multiple attributes, and automatically encrypt files based on classification. Finally, it describes a demonstration lab that shows how to set up claims, resource properties, central access policies and encryption in Active Directory and a file server.
In this webinar, expanding on Acquisio’s recent Guide to the Best Marketing Automation Solutions, follow some of the leading voices in digital marketing as they discuss the best automation solutions in ad testing, creative and reporting.
Strategies for Transitioning From SharePoint On-Prem to Office 365Kanwal Khipple
Whether you are completely transitioning to the cloud or are looking to set up a hybrid environment, attend this session to learn practical strategies for transitioning to Office 365.
This document provides a gentle introduction to machine learning and summarizes how 1Tap uses machine learning for receipt categorization. It begins with an overview of what machine learning is and how it works using a decision tree to predict survival on the Titanic based on training data. It then discusses 1Tap's mission to make self-employment easier and the technologies it uses like Ruby on Rails. Finally, it details how 1Tap improved receipt categorization from an initial deterministic approach to leveraging machine learning models that take into account user and receipt features and text for more accurate predictions.
2016 the year of machine learning 12.16.2015Acquisio
Think you know everything about PPC? Don’t miss out on this exclusive webinar driving you to think about PPC like you never have before. Bryan Minor, Acquisio’s chief scientist will dive into the power of machine learning and game changing statistics on our industry.
Placement of BPM runtime components in an SOA environmentKim Clark
The service oriented architecture (SOA) reference architecture is intentionally simplistic at a high level but it holds some surprises when you look closely at how components really interact. This is especially true in relation to the placement of business process management (BPM) componentry. We discuss the most common design questions including: Is BPM a consumer or provider of services? To what extent should a user interface, be decoupled from the BPM runtime? How do we retain agility in BPM while adhering to the architectural separation of SOA? These subtleties are critical when designing solutions to reap benefits of both SOA and BPM simultaneously.
How to Triple Your Speed of Development Using AutomationAllCloud
The document discusses how to triple the speed of software development through automation. It outlines various areas that can be automated, including version control, building, testing, configuration management, infrastructure provisioning, and deployments. Two example automation pipelines are provided - one using AWS CodeDeploy for deployment and Ansible for configuration management, and another using AWS ECS for container deployment. The document emphasizes that fully automating the development pipeline through continuous integration/delivery can significantly increase development speed and allow focusing on product differentiation.
Already running an intranet, several core applications, and an ERP, Deloitte wanted to optimize procedures that were still being processed manually or through unstructured
email flows (such as leave applications, IT clearance applications, conference call number reservations, salary advance applications, etc.).
Listen to an experienced, global panel of insurance professionals present, discuss and answer your questions on the theme of “AI & Machine Learning”.
Brought to you by The Digital Insurer and sponsored by KPMG.
IBM Connections 4.5 Integration - From Zero To Social Hero - 2.0 - with Domin...Frank Altenburg
This document describes how to integrate IBM Connections 4.5 with IBM Lotus Domino iNotes, with IBM Sametime for Online Awareness and Business Card. How to install the IBM Connections Portlets for WebSphere Portal 8.0 and how to configure them. Adding the search integration and community content on pages. The Sametime Advanced integration and Quickr Integration is not included in this version.
ExpertsLive Asia Pacific 2017 - Planning and Deploying SharePoint Server 2016...Thuan Ng
Planning for a SharePoint farm is one of the most challenging parts in the entire deployment since you have to care network infrastructure, hardware resources to the farm architecture. With Microsoft Azure, planning and deploying SharePoint should not be a big challenge, but what would you still care about the cloud deployment for your SharePoint? This session will give what you should be aware when planning and deploying the latest SharePoint version – SharePoint Server 2016 on Microsoft Azure, and a few things Microsoft never told you in particular.
Practical Strategies to Designing Beautiful PortalsKanwal Khipple
No one starts a project with the intent of building an ugly intranet. We always have good intentions to build the best communication and collaboration portal the company has ever seen. We ensure that executives and end users are involved to design and implement from a portal based on their experience. What ends up happening? Portals are built with too many links to content or even stale content, images that take too long to load or are generic. You even had good intentions to leverage many features and perhaps some are even using it. What you typically find is that after the initial buzz of the launch, adoption fails. Why is that? If that sounds like what you recently went through, then attend this session to learn the strategies and implement them tomorrow. Learn the key principles in building innovative solutions that are simple but capture user’s attention and increase adoption.
Machine Learning Application to Manufacturing using Tableau and Google by Pluto7Manju Devadas
This document summarizes the backgrounds and proposed presentation by Manju Devadas and Salil Amonkar of Pluto7. Manju has over 25 years of experience in business process transformation, IT strategy, and management consulting. Salil has over 20 years of supply chain and technology experience. Their proposed presentation will provide an introduction to machine learning and supply chain use cases, including forecasting, predictive analytics, and price optimization. It will also demonstrate visualizing insights from machine learning models in Tableau.
Practical Strategies for Transitioning to Office 365 #sptechconKanwal Khipple
With Office 365 constantly releasing new functionality, it is becoming difficult to deny the value Office 365 delivers over your current SharePoint on-prem environment. Whether you are completely transitioning to the cloud or are looking to set up a hybrid environment, attend this session to learn practical strategies for transitioning to Office 365. Join Kanwal Khipple as he explores strategies and how Microsoft and many customers are planning to take advantage of Office 365.
Automating the Cloud with Terraform, and AnsibleBrian Hogan
Need a web server? So did I. But setting everything up by hand is tedious. In this talk, you'll see how to build a load-balanced web server using Ansible, Terraform, and DigitalOcean, a cloud provider aimed at developers. First, you'll see how to build out the servers and load balancer, and then you'll see how to use Ansible Playbooks to install and upload the web site. When we're done, you'll have scripts you can run to set up your own environment.
Ansible is an open source automation tool that allows users to configure, manage, and deploy software on remote machines without requiring an agent. It uses SSH to connect to nodes and executes modules written in Python. Playbooks allow users to automate multiple tasks by defining YAML files containing a list of commands. Ansible is agentless and can manage hundreds of nodes with a single command.
Salt and Ansible are both popular tools for network orchestration and automation. Salt uses a centralized master-minion architecture where configuration files and templates are stored on the master. Ansible uses an agentless architecture where playbooks are run directly on managed nodes. Both tools support network device configuration through modules like NAPALM that provide a common API. Salt states and Ansible playbooks define the desired configuration through templates that are rendered and installed on devices. The tools detect configuration drift and make necessary changes.
Getting Started with Ansible - Jake.pdfssuserd254491
The document provides an introduction and overview of Ansible automation. It discusses what Ansible is, how it works, and how to get started using it. The key points are:
- Ansible is an open source automation tool that allows users to automate application deployments, configuration management, and workflow orchestration across multiple machines.
- It uses YAML files called playbooks to define automation tasks. Playbooks are executed across machines defined in an inventory file using SSH or WinRM with no agents required.
- Getting started involves using ad-hoc commands to run simple tasks, then moving to playbooks to define reusable automation. Playbooks use a simple YAML syntax and can leverage variables, conditionals, and roles.
DevOps tool that automates software deployment, infrastructure provisioning, and service orchestration using YAML playbooks and powerful modules; it is agentless, uses SSH to push configuration changes to managed nodes, and supports platforms like Linux, Windows, and network devices through a simple Python-based architecture and human-readable YAML files. Ansible can be used to automate tasks across multiple servers through ad-hoc commands or reusable playbooks and its modules help with common administrative tasks like package management, user management, and service management.
This document provides instructions for deploying Spark in high availability (HA) mode using Ansible on OpenStack. It begins with an overview of using the OpenStack client and Ansible for infrastructure automation. It then demonstrates hands-on use of the OpenStack client to create and manage resources. The document introduces Ansible concepts like playbooks, modules, roles and Galaxy before explaining how to deploy Spark in HA mode using Ansible roles and providing a link to example code.
How to Deploy Spark Instance Using Ansible 2.0 in FIWARE LabFIWARE
How to Deploy Spark Instance Using Ansible 2.0 in FIWARE Lab presentation, by Fernando López Aguilar.
IT & Cloud Architecture. How-to session. 1st FIWARE Summit, Málaga, Dec. 13-15, 2016.
Automate with Ansible basic (2/e, English)Chu-Siang Lai
This document outlines the presentation "The Ansible automated configuration tips of modern IT engineer must be know (2/e)". It begins with an introduction of the speaker and their experience with Ansible. The outline includes sections on what a modern IT engineer is, the benefits of automated configuration tools, what Ansible is, how to deploy an Ansible environment, and how to use Ansible. Key points are that Ansible is an easy to use configuration management tool that reduces errors and makes infrastructure testing and deployment easier. The document provides examples of using Ansible ad-hoc commands and playbooks to automate tasks.
Ansible is a tool for configuration management and application deployment. It works by connecting to target systems using SSH and executing commands. Ansible has simple definitions for describing system configurations and states using YAML files and modules written in Python. Modules allow Ansible to assess system states, make changes idempotently to ensure systems match the defined states. Ansible is highly modular and has many contributors due to its architecture, examples, documentation and an active community.
The document provides an overview of Ansible, an IT automation tool. It discusses key Ansible concepts like playbooks, tasks, handlers, roles, modules, and vaults. It also summarizes how to install and use Ansible for tasks like configuration management, deploying applications, managing packages and services, copying files, and retrieving facts about managed nodes. Example ad-hoc commands are provided to demonstrate managing files, packages, users, and services on remote hosts. The benefits of using playbooks over ad-hoc commands are highlighted.
Linux Server Deep Dives (DrupalCon Amsterdam)Amin Astaneh
Over the past few years the Linux kernel has gained features that allow us to learn more about what's really happening on our servers and the applications that run on them.
This talk will explore how these new features, particularly perf_events and ebpf, enable us to answer questions about what a Drupal site is doing in real time beyond what the standard logs, server performance tools, and even strace will reveal. Attendees will be provided a brief introduction to example uses of these tools to diagnose performance problems.
This talk is intended for attendees that are familiar with Linux, the command line, and have used host observability tools in the past (top, netstat, etc).
5/13/13 presentation to Austin DevOps Meetup Group, describing our system for deploying 15 websites and supporting services in multiple languages to bare redhat 6 VMs. All system-wide software is installed using RPMs, and all application software is installed using GIT or Tarball.
This document provides an overview and agenda for an Ansible hands-on training session. It begins with discussing Ansible fundamentals like key components, best practices, and using Ansible for various automation tasks. The agenda then covers specific topics like deploying Spring Boot apps with Ansible, using Ansible for continuous integration, provisioning Docker hosts, and deploying Docker applications. It concludes by discussing DevOps consultancy services for containerization, automated provisioning, deployment, testing, and moving workloads to the cloud.
● Fundamentals
● Key Components
● Best practices
● Spring Boot REST API Deployment
● CI with Ansible
● Ansible for AWS
● Provisioning a Docker Host
● Docker&Ansible
https://github.com/maaydin/ansible-tutorial
The document provides instructions for various post-installation configuration exercises on an Ubuntu system, including: getting accustomed to using sudo; creating a new user account called "inst"; learning how to install software; updating the software repository list; installing common development packages; learning how to control services; and configuring the X Window system.
This document discusses using Puppet to program IT infrastructures. It introduces Puppet as a tool for automating infrastructure management and provisioning. Puppet uses a declarative language and allows infrastructure to be coded and version controlled. The document provides an overview of Puppet architecture with Master and Agent nodes and explains how nodes are defined and organized using classes and modules. It also shows examples of Puppet code for configuring common services and managing files and templates.
Introduction to Ansible - Peter HalliganCorkOpenTech
Cork Open Technology Presentation, 20th November 2018.
Ansible is an open source automation language. It’s also a deployment and orchestration tool. We will look at some of the core concepts and use cases, rolling updates, version controlled deployment and Infrastructure as code.
Discover more about Ansible! Ansible Tower and Ansible Containers:)
The slides which I used to give a talk about Ansible at DevOps North East. The slides have been modified to make it easier to understand in case you have missed the talk :)
Author: Jameel Nabbo
Company: UITSEC
This guide contain a practical hands on Linux privilege escalation techniques and methods. based on a real penetration testing experience.
Consistent toolbox talks are critical for maintaining workplace safety, as they provide regular opportunities to address specific hazards and reinforce safe practices.
These brief, focused sessions ensure that safety is a continual conversation rather than a one-time event, which helps keep safety protocols fresh in employees' minds. Studies have shown that shorter, more frequent training sessions are more effective for retention and behavior change compared to longer, infrequent sessions.
Engaging workers regularly, toolbox talks promote a culture of safety, empower employees to voice concerns, and ultimately reduce the likelihood of accidents and injuries on site.
The traditional method of conducting safety talks with paper documents and lengthy meetings is not only time-consuming but also less effective. Manual tracking of attendance and compliance is prone to errors and inconsistencies, leading to gaps in safety communication and potential non-compliance with OSHA regulations. Switching to a digital solution like Safelyio offers significant advantages.
Safelyio automates the delivery and documentation of safety talks, ensuring consistency and accessibility. The microlearning approach breaks down complex safety protocols into manageable, bite-sized pieces, making it easier for employees to absorb and retain information.
This method minimizes disruptions to work schedules, eliminates the hassle of paperwork, and ensures that all safety communications are tracked and recorded accurately. Ultimately, using a digital platform like Safelyio enhances engagement, compliance, and overall safety performance on site. https://safelyio.com/
Nashik's top web development company, Upturn India Technologies, crafts innovative digital solutions for your success. Partner with us and achieve your goals
Stork Product Overview: An AI-Powered Autonomous Delivery FleetVince Scalabrino
Imagine a world where instead of blue and brown trucks dropping parcels on our porches, a buzzing drove of drones delivered our goods. Now imagine those drones are controlled by 3 purpose-built AI designed to ensure all packages were delivered as quickly and as economically as possible That's what Stork is all about.
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...The Third Creative Media
"Navigating Invideo: A Comprehensive Guide" is an essential resource for anyone looking to master Invideo, an AI-powered video creation tool. This guide provides step-by-step instructions, helpful tips, and comparisons with other AI video creators. Whether you're a beginner or an experienced video editor, you'll find valuable insights to enhance your video projects and bring your creative ideas to life.
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...Paul Brebner
Closing talk for the Performance Engineering track at Community Over Code EU (Bratislava, Slovakia, June 5 2024) https://eu.communityovercode.org/sessions/2024/why-apache-kafka-clusters-are-like-galaxies-and-other-cosmic-kafka-quandaries-explored/ Instaclustr (now part of NetApp) manages 100s of Apache Kafka clusters of many different sizes, for a variety of use cases and customers. For the last 7 years I’ve been focused outwardly on exploring Kafka application development challenges, but recently I decided to look inward and see what I could discover about the performance, scalability and resource characteristics of the Kafka clusters themselves. Using a suite of Performance Engineering techniques, I will reveal some surprising discoveries about cosmic Kafka mysteries in our data centres, related to: cluster sizes and distribution (using Zipf’s Law), horizontal vs. vertical scalability, and predicting Kafka performance using metrics, modelling and regression techniques. These insights are relevant to Kafka developers and operators.
What to do when you have a perfect model for your software but you are constrained by an imperfect business model?
This talk explores the challenges of bringing modelling rigour to the business and strategy levels, and talking to your non-technical counterparts in the process.
The Rising Future of CPaaS in the Middle East 2024Yara Milbes
Explore "The Rising Future of CPaaS in the Middle East in 2024" with this comprehensive PPT presentation. Discover how Communication Platforms as a Service (CPaaS) is transforming communication across various sectors in the Middle East.
Transforming Product Development using OnePlan To Boost Efficiency and Innova...OnePlan Solutions
Ready to overcome challenges and drive innovation in your organization? Join us in our upcoming webinar where we discuss how to combat resource limitations, scope creep, and the difficulties of aligning your projects with strategic goals. Discover how OnePlan can revolutionize your product development processes, helping your team to innovate faster, manage resources more effectively, and deliver exceptional results.
14 th Edition of International conference on computer visionShulagnaSarkar2
About the event
14th Edition of International conference on computer vision
Computer conferences organized by ScienceFather group. ScienceFather takes the privilege to invite speakers participants students delegates and exhibitors from across the globe to its International Conference on computer conferences to be held in the Various Beautiful cites of the world. computer conferences are a discussion of common Inventions-related issues and additionally trade information share proof thoughts and insight into advanced developments in the science inventions service system. New technology may create many materials and devices with a vast range of applications such as in Science medicine electronics biomaterials energy production and consumer products.
Nomination are Open!! Don't Miss it
Visit: computer.scifat.com
Award Nomination: https://x-i.me/ishnom
Conference Submission: https://x-i.me/anicon
For Enquiry: Computer@scifat.com
The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...kalichargn70th171
Visual testing plays a vital role in ensuring that software products meet the aesthetic requirements specified by clients in functional and non-functional specifications. In today's highly competitive digital landscape, users expect a seamless and visually appealing online experience. Visual testing, also known as automated UI testing or visual regression testing, verifies the accuracy of the visual elements that users interact with.
Enhanced Screen Flows UI/UX using SLDS with Tom KittPeter Caitens
Join us for an engaging session led by Flow Champion, Tom Kitt. This session will dive into a technique of enhancing the user interfaces and user experiences within Screen Flows using the Salesforce Lightning Design System (SLDS). This technique uses Native functionality, with No Apex Code, No Custom Components and No Managed Packages required.
Flutter vs. React Native: A Detailed Comparison for App Development in 2024dhavalvaghelanectarb
Choosing the right framework for your cross-platform mobile app can be a tough decision. Both Flutter and React Native offer compelling features and have earned their place in the development world. Here is a detailed comparison to help you weigh their strengths and weaknesses. Here are the pros and cons of developing mobile apps in React Native vs Flutter.
🏎️Tech Transformation: DevOps Insights from the Experts 👩💻campbellclarkson
Connect with fellow Trailblazers, learn from industry experts Glenda Thomson (Salesforce, Principal Technical Architect) and Will Dinn (Judo Bank, Salesforce Development Lead), and discover how to harness DevOps tools with Salesforce.
The Comprehensive Guide to Validating Audio-Visual Performances.pdfkalichargn70th171
Ensuring the optimal performance of your audio-visual (AV) equipment is crucial for delivering exceptional experiences. AV performance validation is a critical process that verifies the quality and functionality of your AV setup. Whether you're a content creator, a business conducting webinars, or a homeowner creating a home theater, validating your AV performance is essential.
How GenAI Can Improve Supplier Performance Management.pdfZycus
Data Collection and Analysis with GenAI enables organizations to gather, analyze, and visualize vast amounts of supplier data, identifying key performance indicators and trends. Predictive analytics forecast future supplier performance, mitigating risks and seizing opportunities. Supplier segmentation allows for tailored management strategies, optimizing resource allocation. Automated scorecards and reporting provide real-time insights, enhancing transparency and tracking progress. Collaboration is fostered through GenAI-powered platforms, driving continuous improvement. NLP analyzes unstructured feedback, uncovering deeper insights into supplier relationships. Simulation and scenario planning tools anticipate supply chain disruptions, supporting informed decision-making. Integration with existing systems enhances data accuracy and consistency. McKinsey estimates GenAI could deliver $2.6 trillion to $4.4 trillion in economic benefits annually across industries, revolutionizing procurement processes and delivering significant ROI.
In this infographic, we have explored cost-effective strategies for iOS app development, focusing on building high-quality apps within a budget. Key points covered include prioritizing essential features, leveraging existing tools and libraries, adopting cross-platform development approaches, optimizing for a Minimum Viable Product (MVP), and integrating with cloud services and third-party APIs. By implementing these strategies, businesses and developers can create functional and engaging iOS apps while minimizing development costs and time-to-market.
Superpower Your Apache Kafka Applications Development with Complementary Open...Paul Brebner
Kafka Summit talk (Bangalore, India, May 2, 2024, https://events.bizzabo.com/573863/agenda/session/1300469 )
Many Apache Kafka use cases take advantage of Kafka’s ability to integrate multiple heterogeneous systems for stream processing and real-time machine learning scenarios. But Kafka also exists in a rich ecosystem of related but complementary stream processing technologies and tools, particularly from the open-source community. In this talk, we’ll take you on a tour of a selection of complementary tools that can make Kafka even more powerful. We’ll focus on tools for stream processing and querying, streaming machine learning, stream visibility and observation, stream meta-data, stream visualisation, stream development including testing and the use of Generative AI and LLMs, and stream performance and scalability. By the end you will have a good idea of the types of Kafka “superhero” tools that exist, which are my favourites (and what superpowers they have), and how they combine to save your Kafka applications development universe from swamploads of data stagnation monsters!
2. #Outline
1 A day in the life of a sysadmin
2 Automation
3 Introducing Ansible
4 Ansible Playbooks: beyond the Basics
5 Roles and Includes
6 Automating Your Automation
A day in the life of a sysadmin 2/32
3. The timeline
”We have the misfortune to be living in the present. In the future,
of course, computers will be smart enough to just figure out what
we want, and do it. Until then, we have to spend a lot of time
telling the computer things it should already know.”
A day in the life of a sysadmin 3/32
5. Repeating changes across many servers
The command to create a new user account is slightly different for
Red Hat Linux from the equivalent command for Ubuntu, for
example. Solaris is a little different again.
Each command is doing basically the same job, but has differences
in syntax, arguments, and default values.
A day in the life of a sysadmin 5/32
6. Self-updating documentation
A new sysadmin joins your organization, and he needs to know
where all the servers are, and what they do. Even if you keep
scrupulous documentation, it can’t always be relied on.
The only accurate documentation, in fact, is the servers
themselves. You can look at a server to see how it’s configured,
but that only applies while you still have the machine. If something
goes wrong and you can’t access the machine, or the data on it,
your only option is to reconstruct the lost configuration from
scratch.
Wouldn’t it be nice if you had a configuration document which was
guaranteed to be up to date?
A day in the life of a sysadmin 6/32
8. #Outline
1 A day in the life of a sysadmin
2 Automation
3 Introducing Ansible
4 Ansible Playbooks: beyond the Basics
5 Roles and Includes
6 Automating Your Automation
Automation 8/32
9. Why Automation?
Fast deployment time
It’s cheap and flexible
Scalability and support
Standard environments
Automation as a standardized approach
IT automation is a standard approach that
combines multi-node software deployment,
ad-hoc task execution and configuration
management.
Automation 9/32
11. IT Automation: Terminology
Idempotence: the ability to run an operation which produces the
same result whether run once or multiple times
Inventory: hosts file that defines:
the description of the nodes that can be
accessed
the IP address or hostname of each node
nodes group to run a different set of
tasks
nodes parameters such as username,
password or ssh keys
Playbooks: they express configurations, deployment and
orchestration in Ansible. Each Playbook maps a group of hosts to
a set of roles. Each role is represented by calls to Ansible call tasks.
Automation 11/32
12. #Outline
1 A day in the life of a sysadmin
2 Automation
3 Introducing Ansible
4 Ansible Playbooks: beyond the Basics
5 Roles and Includes
6 Automating Your Automation
Introducing Ansible 12/32
13. Quick Start
Linux - run natively e.g. on a Fedora/RHEL/CentOS:
yum -y install ansible
Debian or Ubuntu
sudo apt-add-repository -y ppa:ansible/ansible
sudo apt-get update
sudo apt-get install -y ansible
Verify your installation
$ ansible –version
ansible 2.0.1.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
Introducing Ansible 13/32
14. Quick Start
Linux - run natively e.g. on a Fedora/RHEL/CentOS:
yum -y install ansible
Debian or Ubuntu
sudo apt-add-repository -y ppa:ansible/ansible
sudo apt-get update
sudo apt-get install -y ansible
Verify your installation
$ ansible –version
ansible 2.0.1.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
Introducing Ansible 13/32
15. Quick Start
Linux - run natively e.g. on a Fedora/RHEL/CentOS:
yum -y install ansible
Debian or Ubuntu
sudo apt-add-repository -y ppa:ansible/ansible
sudo apt-get update
sudo apt-get install -y ansible
Verify your installation
$ ansible –version
ansible 2.0.1.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
Introducing Ansible 13/32
16. Quick Start
Linux - run natively e.g. on a Fedora/RHEL/CentOS:
yum -y install ansible
Debian or Ubuntu
sudo apt-add-repository -y ppa:ansible/ansible
sudo apt-get update
sudo apt-get install -y ansible
Verify your installation
$ ansible –version
ansible 2.0.1.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
Introducing Ansible 13/32
17. The inventory file
Where it is located
/etc/ansible/hosts
What is the format
[mailservers]
mail.example.com
[webservers]
foo.example.com ansible ssh user = user001
bar.example.com ansible ssh private key file =
/.ssh/ansible key001
[dbservers]
one.example.com
two.example.com
db-[a:f].example.com
Introducing Ansible 14/32
18. The inventory file
I can define a group of machines
# Group ’multi’ with all servers
[multi:children]
vm01
vm02
# Variables that will be applied to all servers
[multi:vars]
ansible ssh user=user001
ansible ssh private key file = /.ssh/pkey
..available parameters
https://docs.ansible.com/ansible/intro inventory.html
Introducing Ansible 15/32
19. The Ansible command line
ansible-playbook
Execute a playbook
ansible-galaxy
Roles management
ansible example -a ”free -m” -u [username]
Run the free command on the example domain
ansible example -m ping -u [username]
Run the ping command on the example domain
ansible atlanta -m copy -a ”src=/etc/hosts
dest=/tmp/hosts”
File copy using the copy module
ansible all -m user -a ”name=foo password=’crypted
password here’”
User and group management
Introducing Ansible 16/32
20. Your first Ansible playbook
Host section
It is related to a section of the inventory file described above
---
- hosts: webservers
vars:
http_port: 80
max_clients: 200
remote_user: root
tasks:
- name: ensure apache is at the latest version
yum: name=httpd state=latest
- name: write the apache config file
template: src=/ srv/httpd.j2 dest =/etc/httpd.conf
notify:
- restart apache
- name: ensure apache is running (and enable it at boot)
service: name=httpd state=started enabled=yes
handlers:
- name: restart apache
service: name=httpd state=restarted
Vars Section
Variables used to the tasks in order to parametrize something
Introducing Ansible 17/32
21. Your first Ansible playbook
Task section
Groups of tasks that are performed on a certain set of hosts to
allow them to fulfill the function you want to assign to them.
Notify section
This is not an internal Ansible command, it is a reference to a
handler, which can perform certain functions when it is called from
within a task.
Handlers section
Handlers are just like tasks, but they only run when they have been
told by a task that changes have occurred on the client system.
Run the playbook
ansible-playbook playbook.yml
Introducing Ansible 18/32
22. #Outline
1 A day in the life of a sysadmin
2 Automation
3 Introducing Ansible
4 Ansible Playbooks: beyond the Basics
5 Roles and Includes
6 Automating Your Automation
Ansible Playbooks: beyond the Basics 19/32
23. Playing with variables
---
- hosts: example
vars:
foo: bar
tasks:
# Prints "Variable ’foo’ is set to bar".
- debug: msg="’foo’ is set to {{ foo }}"
Variables always begin with a letter ([A-Za-z]), and can include
any number of underscores ( ) or numbers ([0-9]).
Variables can be passed in via the command line, when calling
ansible-playbook, with the –extra-vars option:
ansible-playbook example.yml –extra-vars ”foo=bar”
Ansible Playbooks: beyond the Basics 20/32
24. Registering/Accessing variables
Send a command and register the result...
name: Get the value of the environment variable we just added.
shell: ”source /.bash profile && echo $ENV VAR”
register: foo
..and then use it as before
- name: Print the value of the environment variable.
debug: msg = ”The variable is {{ foo.stdout }}”
Ansible Playbooks: beyond the Basics 21/32
25. Per-play environment variables
# Set to ’absent ’ to disable proxy:
proxy_state: present
# In the ’tasks ’ section of the playbook:
- name: Configure the proxy.
lineinfile:
dest: /etc/ environment
regexp: "{{ item.regexp }}"
line: "{{ item.line }}"
state: "{{ proxy_state }}"
with_items:
- {regexp:"^http_proxy=",line:"http_proxy=http :// example -proxy :80/"}
- {regexp:"^https_proxy=",line:" https_proxy =https :// example -proxy :443/"}
- {regexp:"^ftp_proxy=",line:"ftp_proxy=http :// example -proxy :80/"}
Doing it this way allows me to configure whether the proxy is
enabled per-server, and with one play, set the http, https, and ftp
proxies. You can use a similar kind of play for any other types of
environment variables you need to set system-wide.
Ansible Playbooks: beyond the Basics 22/32
26. #Outline
1 A day in the life of a sysadmin
2 Automation
3 Introducing Ansible
4 Ansible Playbooks: beyond the Basics
5 Roles and Includes
6 Automating Your Automation
Roles and Includes 23/32
27. Roles and Includes
Ansible is very flexible when it comes to organizing your tasks in
more efficient ways so you can make your playbooks more
maintainable, reusable, and powerful. We are talking about:
Includes
Roles
Includes examples
handlers:
- include: included-handlers.yml
tasks:
- include: tasks/common.yml
- include: tasks/apache.yml
- include: tasks/mysql.yml
Roles and Includes 24/32
28. More about roles
Including playbooks inside other playbooks makes your playbook
organization a little more sane, but once you start wrapping up
your entire infrastructures configuration in playbooks, you might
end up with something resembling Russian nesting dolls. The
solution comes with the keyword: roles.
Roles provides a way to take bits of configuration and packages
and make them flexible so we can use them throughout our
infrastructure and we can include them in this way:
roles:
- yum-repo-setup
- firewall
- nodejs
- app-deploy
Roles and Includes 25/32
29. Role essentials
Instead of requiring you to explicitly include certain files and
playbooks in a role, Ansible automatically includes any main.yml
files inside specific directories that make up the role.
Roles structure
There are only two
directories required to
make a working role:
role name/
meta/main.yml
tasks/main.yml
Ansible will run all the tasks
defined in tasks/main.yml, you
just need to include the created
role using following syntax:
- - -
- hosts: all
roles:
- role name
Your roles can live in a couple different placesin the default global
Ansible role path configurable in /etc/ansible/ansible.cfg.
Roles and Includes 26/32
30. Enter Ansible Galaxy: Be social
Wouldnt it be better if people could share roles for
commonly-installed applications and services?
Helpful Galaxy commands
Some other helpful ansible-galaxy commands you might use from
time to time:
ansible-galaxy list displays a list of installed roles, with
version numbers
ansible-galaxy remove [role] removes an installed role
ansible-galaxy init can be used to create a role template
suitable for submission to Ansible Galaxy
Roles and Includes 27/32
31. #Outline
1 A day in the life of a sysadmin
2 Automation
3 Introducing Ansible
4 Ansible Playbooks: beyond the Basics
5 Roles and Includes
6 Automating Your Automation
Automating Your Automation 28/32
32. Ansible tower
Continuous integration
It’s always a good practise use a continuous integration model
inside your infrastructure
Go Over the CLI
The business needs detailed reporting of infrastructure
deployments and failures, especially for audit purposes.
Team-based infrastructure management requires varying levels
of involvement in playbook management, inventory
management, and key and password access.
A through visual overview of the current and historical
playbook runs and server health helps identify potential issues
before they affect the bottom line.
Playbook scheduling can help ensure infrastructure remains in
a known state.
Automating Your Automation 29/32