Cargando…

Ansible : from beginner to pro /

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...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Heap, Michael (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: [Berkley, CA] : Apress, [2016]
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • At a Glance; Contents; About the Author; About the Technical Reviewer; Acknowledgments; Chapter 1: Getting Started; What Is Configuration Management?; Infrastructure as Code; About Ansible; Puppet, Chef, and Other Configuration Management Tools; Installing Ansible; Writing Your First Playbook; Creating a Test Environment with Vagrant; About VirtualBox and Vagrant; Installing VirtualBox and Vagrant; Creating Your Environment; An Introduction to Playbooks; Your First Playbook; Playbooks and Idempotency; Summary; Chapter 2: The Inventory File; What's an Inventory?
  • Running Without VagrantConfiguration Options in the Inventory; Inventory Variable Registration; Inventory Groups; An Example Inventory; Dynamic Inventories; Multiple Inventories; Summary; Chapter 3: Installing WordPress; Installing WordPress; Environment Configuration; Installing Dependencies; Installing PHP; Installing MySQL; Installing nginx; Tasks and Handlers; Downloading WordPress; Downloading it Yourself; Downloading it Automatically; Configuring a WordPress Install; Making a Backup; Making It Idempotent; Summary; Chapter 4: Ansible Roles; Ansible Galaxy; Role Structure.
  • Splitting Up Your WordPress Playbookmheap.php; mheap.mysql; mheap.nginx; mheap.wordpress; mheap.common; Role Dependencies; Wrapper Roles; Creating Roles for Different Platforms; Tips for Writing Roles; Summary; Chapter 5: Parameterizing Playbooks; Parameterizing Your WordPress Role; Customizing the WordPress Domain Name; Variable Locations; Role Defaults (Commonly Used); Inventory Variables; Inventory Group Variables; Inventory Host Variables; Playbook Group Variables (Commonly Used); Playbook Host Variables (Commonly Used); Host Facts; Registered Variables (Commonly Used); Set Facts.
  • Playbook VariablesPlaybook vars_prompt; Playbook vars_files; Role Variables (Commonly Used); Block Variables; Task Variables; Extra Variables; Gathering Facts; Disabling Facts; Facts.d; Fact Caching; hostvars; Working with Variables; Ansible's Variable Philosophy; Summary; Chapter 6: Writing Your Own Modules; About Ansible Modules; ansible-modules-core; ansible-modules-extras; Environment Setup; Writing a Module Using Bash; Writing a Module Using Python; Writing in Any Other Programming Language; Providing Facts via a Module; Summary; Chapter 7: Orchestrating AWS; Creating an AWS Account.
  • IAM UsersKey Pairs; Security Groups; Prerequisites; Creating an Instance; Deleting Instances; Managing Instance Cardinality; Provisioning Your New Instance; Running Your WordPress Playbook; Dynamic Inventories; Creating a VPC; Summary; Chapter 8: Testing with Test Kitchen; About Test Kitchen; Installing Test Kitchen; An Introduction to ServerSpec; Writing Your First Test; More Lightweight Tests; Testing Your WordPress Role; Summary; Chapter 9: Advanced Ansible; Ansible: The Command-Line Tool; Querying the Environment; ansible-vault; ansible-galaxy; ansible-galaxy init; ansible-galaxy install.