Ansible : From Beginner to Pro
Michael Heap (auth.)قیمت نهایی
۴۴٬۰۰۰ تومان۴۹٬۰۰۰ تومان۱۰٪ تخفیف
- تخفیف زماندار−۵٬۰۰۰ تومان
۵٬۰۰۰ تومان صرفهجویی نسبت به قیمت اصلی
نسخه اصلی و اورجینال
بلافاصله پس از خرید، فایل کتاب روی دستگاه شما آمادهٔ دانلود است.
تحویل فوری
پرداخت امن
ضمانت فایل
پشتیبانی
مشخصات کتاب
- نویسنده
- Michael Heap (auth.)
- سال انتشار
- ۲۰۱۶
- فرمت
- زبان
- انگلیسی
- تعداد صفحات
- ۲۵۰ صفحه
- حجم فایل
- ۵٫۴ مگابایت
- شابک
- 9781484216590، 9781484216606، 1484216598، 1484216601
دربارهٔ کتاب
La 4ème de couverture indique : "This book is your concise guide to Ansible, the simple way to automate apps and IT infrastructure. In less than 250 pages, this book takes you from knowing nothing about configuration management to understanding how to use Ansible in a professional setting. You will learn how to create an Ansible playbook to automatically set up an environment, ready to install an open source project. You'll extract common tasks into roles that you can reuse across all your projects, and build your infrastructure on top of existing open source roles and modules that are available for you to use. You will learn to build your own modules to perform actions specific to your business. By the end you will create an entire cluster of virtualized machines, all of which have your applications and all their dependencies installed automatically. Finally, you'll test your Ansible playbooks. Ansible can do as much or as little as you want it to. Ansible: From Beginner to Pro will teach you the key skills you need to be an Ansible professional. You'll be writing roles and modules and creating entire environments without human intervention in no time at all - add it to your library today. What You Will Learn* Learn why Ansible is so popular and how to download and install it * Create a playbook that automatically downloads and installs a popular open source project* Use open source roles to complete common tasks, and write your own specific to your business * Extend Ansible by writing your own modules * Test your infrastructure using Test Kitchen and ServerSpec Who This Book Is For Ansible: From Beginner to Pro is for developers that currently create development and production environments by hand. If you find yourself running apt-get install regularly, this book is for you. Ansible adds reproducibility and saves you time all at once. Ansible: From Beginner to Pro is great for any developer wanting to enhance their skillset and learn new tools." Contents at a Glance 5 Contents 6 About the Author 12 About the Technical Reviewer 13 Acknowledgments 14 Chapter 1: Getting Started 15 What Is Configuration Management? 15 Infrastructure as Code 16 About Ansible 16 Puppet, Chef, and Other Configuration Management Tools 17 Installing Ansible 18 Writing Your First Playbook 19 Creating a Test Environment with Vagrant 20 About VirtualBox and Vagrant 20 Installing VirtualBox and Vagrant 20 Creating Your Environment 21 An Introduction to Playbooks 24 Your First Playbook 25 Playbooks and Idempotency 30 Summary 31 Chapter 2: The Inventory File 32 What’s an Inventory? 32 Running Without Vagrant 34 Configuration Options in the Inventory 35 Inventory Variable Registration 37 Inventory Groups 38 An Example Inventory 40 Dynamic Inventories 41 Multiple Inventories 43 Summary 43 Chapter 3: Installing WordPress 44 Installing WordPress 44 Environment Configuration 44 Installing Dependencies 45 Installing PHP 45 Installing MySQL 46 Installing nginx 50 Tasks and Handlers 53 Downloading WordPress 54 Downloading it Yourself 55 Downloading it Automatically 55 Configuring a WordPress Install 56 Making a Backup 59 Making It Idempotent 60 Summary 61 Chapter 4: Ansible Roles 62 Ansible Galaxy 62 Role Structure 64 Splitting Up Your WordPress Playbook 66 mheap.php 67 mheap.mysql 68 mheap.nginx 69 mheap.wordpress 69 mheap.common 70 Role Dependencies 71 Wrapper Roles 72 Creating Roles for Different Platforms 73 Tips for Writing Roles 74 Summary 75 Chapter 5: Parameterizing Playbooks 76 Parameterizing Your WordPress Role 76 Customizing the WordPress Domain Name 78 Variable Locations 80 Role Defaults (Commonly Used) 80 Inventory Variables 81 Inventory Group Variables 81 Inventory Host Variables 82 Playbook Group Variables (Commonly Used) 83 Playbook Host Variables (Commonly Used) 83 Host Facts 83 Registered Variables (Commonly Used) 84 Set Facts 84 Playbook Variables 85 Playbook vars_prompt 85 Playbook vars_files 86 Role Variables (Commonly Used) 88 Block Variables 88 Task Variables 89 Extra Variables 90 Gathering Facts 90 Disabling Facts 92 Facts.d 92 Fact Caching 93 hostvars 93 Working with Variables 93 Ansible’s Variable Philosophy 95 Summary 95 Chapter 6: Writing Your Own Modules 96 About Ansible Modules 96 ansible-modules-core 96 ansible-modules-extras 96 Environment Setup 97 Writing a Module Using Bash 97 Writing a Module Using Python 101 Writing in Any Other Programming Language 108 Providing Facts via a Module 109 Summary 111 Chapter 7: Orchestrating AWS 112 Creating an AWS Account 112 IAM Users 114 Key Pairs 115 Security Groups 116 Prerequisites 116 Creating an Instance 117 Deleting Instances 120 Managing Instance Cardinality 122 Provisioning Your New Instance 124 Running Your WordPress Playbook 126 Dynamic Inventories 129 Creating a VPC 132 Summary 137 Chapter 8: Testing with Test Kitchen 138 About Test Kitchen 138 Installing Test Kitchen 139 An Introduction to ServerSpec 140 Writing Your First Test 141 More Lightweight Tests 144 Testing Your WordPress Role 146 Summary 149 Chapter 9: Advanced Ansible 150 Ansible: The Command-Line Tool 150 Querying the Environment 151 ansible-vault 151 ansible-galaxy 156 ansible-galaxy init 156 ansible-galaxy install 157 ansible-galaxy list 158 ansible-galaxy remove 159 ansible-galaxy search 159 ansible-galaxy info 161 ansible-galaxy login and import/delete 163 ansible.cfg 164 Running in Serial 166 ansible-pull 167 Blocks 168 Summary 170 Chapter 10: Appendix A. Installing Ansible 171 Ansible on Debian 171 Installing from Source 171 Building a .deb Package 172 Ansible on RedHat 172 Installing from Source 173 Building a .rpm Package 173 Ansible on Windows 174 Chapter 11: Appendix B. YAML Files 175 Starting a YAML document 175 Data Types 175 Scalar 176 List 176 Map 176 Block Literals 177 Summary 178 Index 179 La 4ème de couverture indique : "This book is your concise guide to Ansible, the simple way to automate apps and IT infrastructure. In less than 250 pages, this book takes you from knowing nothing about configuration management to understanding how to use Ansible in a professional setting. You will learn how to create an Ansible playbook to automatically set up an environment, ready to install an open source project. You'll extract common tasks into roles that you can reuse across all your projects, and build your infrastructure on top of existing open source roles and modules that are available for you to use. You will learn to build your own modules to perform actions specific to your business. By the end you will create an entire cluster of virtualized machines, all of which have your applications and all their dependencies installed automatically. Finally, you'll test your Ansible playbooks. Ansible can do as much or as little as you want it to. Ansible: From Beginner to Pro will teach you the key skills you need to be an Ansible professional. You'll be writing roles and modules and creating entire environments without human intervention in no time at all - add it to your library today. What You Will Learn* Learn why Ansible is so popular and how to download and install it * Create a playbook that automatically downloads and installs a popular open source project* Use open source roles to complete common tasks, and write your own specific to your business * Extend Ansible by writing your own modules * Test your infrastructure using Test Kitchen and ServerSpec Who This Book Is For Ansible: From Beginner to Pro is for developers that currently create development and production environments by hand. If you find yourself running apt-get install regularly, this book is for you. Ansible adds reproducibility and saves you time all at once. Ansible: From Beginner to Pro is great for any developer wanting to enhance their skillset and learn new tools." La page d'accueil indique : "This book is your concise guide to Ansible, the simple way to automate apps and IT infrastructure. In less than 250 pages, this book takes you from knowing nothing about configuration management to understanding how to use Ansible in a professional setting. You will learn how to create an Ansible playbook to automatically set up an environment, ready to install an open source project. You'll extract common tasks into roles that you can reuse across all your projects, and build your infrastructure on top of existing open source roles and modules that are available for you to use. You will learn to build your own modules to perform actions specific to your business. By the end you will create an entire cluster of virtualized machines, all of which have your applications and all their dependencies installed automatically. Finally, you'll test your Ansible playbooks. Ansible can do as much or as little as you want it to. Ansible: From Beginner to Pro will teach you the key skills you need to be an Ansible professional. You'll be writing roles and modules and creating entire environments without human intervention in no time at all - add it to your library today. What You Will Learn* Learn why Ansible is so popular and how to download and install it * Create a playbook that automatically downloads and installs a popular open source project* Use open source roles to complete common tasks, and write your own specific to your business * Extend Ansible by writing your own modules * Test your infrastructure using Test Kitchen and ServerSpec Who This Book Is For Ansible: From Beginner to Pro is for developers that currently create development and production environments by hand. If you find yourself running apt-get install regularly, this book is for you. Ansible adds reproducibility and saves you time all at once. Ansible: From Beginner to Pro is great for any developer wanting to enhance their skillset and learn new tools" This book is your concise guide to Ansible, the simple way to automate apps and IT infrastructure. In less than 250 pages, this book takes you from knowing nothing about configuration management to understanding how to use Ansible in a professional setting. You will learn how to create an Ansible playbook to automatically set up an environment, ready to install an open source project. Youll extract common tasks into roles that you can reuse across all your projects, and build your infrastructure on top of existing open source roles and modules that are available for you to use. You will learn to build your own modules to perform actions specific to your business. By the end you will create an entire cluster of virtualized machines, all of which have your applications and all their dependencies installed automatically. Finally, you'll test your Ansible playbooks. Ansible can do as much or as little as you want it to. __Ansible: From Beginner to Pro__ will teach you the key skills you need to be an Ansible professional. Youll be writing roles and modules and creating entire environments without human intervention in no time at all add it to your library today. * Learn why Ansible is so popular and how to download and install it * Create a playbook that automatically downloads and installs a popular open source project * Use open source roles to complete common tasks, and write your own specific to your business * Extend Ansible by writing your own modules * Test your infrastructure using Test Kitchen and ServerSpec **Who This Book Is For**__D__evelopers that currently create development and production environments by hand. If you find yourself running __apt-get install__regularly, this book is for you. Ansible adds reproducibility and saves you time all at once. __Ansible: From Beginner to Pro__ is great for any developer wanting to enhance their skillset and learn new tools. This book is your concise guide to Ansible, the simple way to automate apps and IT infrastructure. In less than 250 pages, this book takes you from knowing nothing about configuration management to understanding how to use Ansible in a professional setting. You will learn how to create an Ansible playbook to automatically set up an environment, ready to install an open source project. You'll extract common tasks into roles that you can reuse across all your projects, and build your infrastructure on top of existing open source roles and modules that are available for you to use. You will learn to build your own modules to perform actions specific to your business. By the end you will create an entire cluster of virtualized machines, all of which have your applications and all their dependencies installed automatically. Finally, you'll test your Ansible playbooks. Ansible can do as much or as little as you want it to. Ansible: From Beginner to Pro will teach you the key skills you need to be an Ansible professional. You'll be writing roles and modules and creating entire environments without human intervention in no time at all – add it to your library today. What You Will Learn Learn why Ansible is so popular and how to download and install it Create a playbook that automatically downloads and installs a popular open source project Use open source roles to complete common tasks, and write your own specific to your business Extend Ansible by writing your own modules Test your infrastructure using Test Kitchen and ServerSpec Who This Book Is For D evelopers that currently create development and production environments by hand. If you find yourself running apt-get install regularly, this book is for you. Ansible adds reproducibility and saves you time all at once. Ansible: From Beginner to Pro is great for any developer wanting to enhance their skillset and learn new tools. This book is your concise guide to Ansible, the simple way to automate apps and IT infrastructure. It takes you from knowing nothing about configuration management to understanding how to use Ansible in a professional setting. You will learn how to create an Ansible playbook to set up an environment automatically, ready to install an open source project. You'll extract common tasks into roles that you can reuse across all your projects and build your infrastructure on top of existing open source roles and modules that are available for you to use. You will learn how to build your own modules to perform actions specific to your business. By the end you will create an entire cluster of virtualized machines, all of which have your applications and all their dependencies installed automatically. Finally, you'll test your Ansible playbooks. Ansible: From Beginner to Pro will teach you the key skills you need to be an Ansible professional. You'll be writing roles and modules and creating entire environments without human intervention in no time at all - add it to your library today Front Matter....Pages i-xvii Getting Started....Pages 1-17 The Inventory File....Pages 19-30 Installing WordPress....Pages 31-48 Ansible Roles....Pages 49-62 Parameterizing Playbooks....Pages 63-82 Writing Your Own Modules....Pages 83-98 Orchestrating AWS....Pages 99-124 Testing with Test Kitchen....Pages 125-136 Advanced Ansible....Pages 137-157 Appendix A. Installing Ansible....Pages 159-162 Appendix B. YAML Files....Pages 163-166 Back Matter....Pages 167-170
کتابهای مشابه
Ansible : From Beginner to Pro
۴۹٬۰۰۰ تومان
انسیبل: از مبتدی تا حرفهای
۴۹٬۰۰۰ تومان
Ansible : From Beginner to Pro
۴۹٬۰۰۰ تومان
Nginx : From Beginner to Pro
۴۹٬۰۰۰ تومان
Nginx : From Beginner to Pro
۴۹٬۰۰۰ تومان
Nginx : From Beginner to Pro
۴۹٬۰۰۰ تومان
Nginx : From Beginner to Pro
۴۹٬۰۰۰ تومان
Nginx : From Beginner to Pro
۴۹٬۰۰۰ تومان
Essential TypeScript : From Beginner to Pro
۴۹٬۰۰۰ تومان
Beginning C: From Beginner to Pro
۴۹٬۰۰۰ تومان
NATS کاربردی: از مبتدی تا حرفهای
۴۹٬۰۰۰ تومان
Essential TypeScript : From Beginner to Pro
۴۹٬۰۰۰ تومان
قیمت نهایی
۴۴٬۰۰۰ تومان
