Hands on Ansible deploying GitLab
Location - Webonise Lab, Pune
Date - 2015-02-21
Name: | Rishabh Das |
---|---|
Contact: | [email protected] |
Workplace: | Red Hat, Pune |
- What is Ansible
- Installation
- Ansible modules
- Ansible variables
- Ansible playbook
- Demo
- IT automation tool
- Deploy, Manage and Configure applications
- RPM family - yum install ansible
- Debian / Ubuntu - apt-get install ansible
- pip install ansible
- Control system resources
- Supports arguments
- Written in Python
- Inventory variables
- Playbook variables
- Discovered variables or Facts
- YAML file
- Set of instructions
- Has host details
- Variables to read from
---
- name: install and start httpd service
hosts: webservers
user: cloud-user
sudo: yes
tasks:
- name: Install / Check apache is intalled
yum: name=httpd state=present
- name: Start / Check apache service
service: name=httpd state=started
Deploy GitLab
Location - Webonise Lab, Pune