filmov
tv
Configuration Management With Ansible: A Whirlwind Tour
Показать описание
A crash course on deployment and configuration management with Ansible. This video acts as a basic Ansible tutorial (a general introduction to Ansible for beginners). Anyone using Linux for System Administration, DevOps, or Development should be familiar with this tool.
Why choose Ansible vs Chef or Puppet?
-easiest to get started with
-no agents, no client/server
-done over SSH
-Ansible can scale to thousands of hosts
-Ansible uses Python, yay!
########################
Ansible in 10 minutes
-we are not covering everything, just the stuff I think is most important
-these are the things you'll be doing with Ansible MOST of the time
###
Super-simple ansible tutorial:
apt-get install ansible
We want to set up a new machine
# prep the machine
-- add sshkey (or install sshpass and use --ask-pass)
-- install python, python-apt
-install zsh tmux
-SSH config file (templating)
# Ansible Development Workflow:
-write some stuff
-run some stuff
-check if everything actually worked
-fix bugs, run again
-repeat
#################
A larger Ansible project
mkdir -p basics/{group_vars,roles}/
touch group_vars/all
mkdir -p roles/common/{files,handlers,tasks,templates}
tree .
Why choose Ansible vs Chef or Puppet?
-easiest to get started with
-no agents, no client/server
-done over SSH
-Ansible can scale to thousands of hosts
-Ansible uses Python, yay!
########################
Ansible in 10 minutes
-we are not covering everything, just the stuff I think is most important
-these are the things you'll be doing with Ansible MOST of the time
###
Super-simple ansible tutorial:
apt-get install ansible
We want to set up a new machine
# prep the machine
-- add sshkey (or install sshpass and use --ask-pass)
-- install python, python-apt
-install zsh tmux
-SSH config file (templating)
# Ansible Development Workflow:
-write some stuff
-run some stuff
-check if everything actually worked
-fix bugs, run again
-repeat
#################
A larger Ansible project
mkdir -p basics/{group_vars,roles}/
touch group_vars/all
mkdir -p roles/common/{files,handlers,tasks,templates}
tree .
Комментарии