Ansible
Glossary
|
|
Ecosystem
- components
- engine
- tower
- galaxy
- vault
Engine
|
|
- Provisioning
- Create, update, and destroy VMs in a private datacenter hypervisor or instances in a public cloud. Also, manage resources, including virtual disks, network interfaces, load balancers, images, and more for these objects.
- Configuration Management
- Keep systems standard across your entire IT, cloud, and application infrastructure. After a host is provisioned, define the state based on groups and roles, which contain repeatable tasks and deliver templates to maintain the desired end state of your deployed environments.
- Application Release Automation
- Release
fast, release often.
Once configured, deploy applications with ease and simplicity using the same Playbook language.
Ansible modules can be used to configure states and work with common Application stacks, such as JBoss or Django apps (to name a few), leveraging their APIs to deploy built content from various CI platforms.
- Workflow Automation
- Easily build entire
workflows to deploy nearly anything from
infrastructure to applications to
networks. Always know what the running
state of your environments are, and enable
the tracking of multiple baselines and
versions– all from simple playbooks.
Works with the technologies you use today With over 1200 enterprise integrations, Ansible automation can automate the tools, technologies, and infrastructure that youβre using today. And weβre adding more modules, more support, and more flexibility with every release.
Upgrade Ansible
Requirements
|
|
Mac
|
|
Ubuntu
|
|
Config files
/etc/ansible/hosts
$HOME/.ansible.cfg
|
|
Passwords
You can set ansible_password
but it’s
recommended to set up the public key.
Run some tasks
- Run a set of tasks (roles)
geerlingguy.php-versions
geerlingguy.php
|
|
Using Ansible Galaxy
|
|
Upgrading PHP with ansible
|
|
Installing roles
|
|
Search for an elasticsearch role for ubuntu
|
|
Search for and install role
|
|
List installed roles
|
|
# /home/shane/.ansible/roles
- 0x0i.elasticsearch, v0.1.0
Determine where roles are installed
|
|
- downloading role 'elasticsearch', owned by 0x0i
- downloading role from https://github.com/0x0I/ansible-role-elasticsearch/archive/v0.1.0.tar.gz
- extracting 0x0i.elasticsearch to /home/shane/ansible-roles/0x0i.elasticsearch
- 0x0i.elasticsearch (v0.1.0) was installed successfully
Thanks for reading!
If this article appears incomplete, it may be intentional. Try prompting for a continuation.
If this article appears incomplete, it may be intentional. Try prompting for a continuation.