Ansible
-
Upload
martin-zlamal -
Category
Engineering
-
view
60 -
download
0
Transcript of Ansible
I CANNOT EVENDESCRIBE THE
BEAUTY OFUPGRADE.SH
208 LoC of Bash code7264 chars in total
Somehow...
IT JUST WORKS.
LET'S BE HONESTIT'S NOT PERFECT
BUT IT WORKS
ACTUALLY IT WORKS QUITE WELLBUT IS THIS WHAT YOU REALLY WANT?
playboy.yml:
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$$$$$$$$$$j$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$j$$$$$$$$$$
$$$$$$$$$' ̀ $$$$$$$$$
$$$$$$$' .sS$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$Ss. ̀ $$$$$$$
$$$$$' .$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$' $$$$$$$$$$. ̀ $$$$$
$$$$ S$$$$$$$V ̀ S$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$' $$$$$$$$$$$S $$$$
$$$$ $$$$$$$$$$ ̀ !$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$' $$$$$$$$$$$$$ $$$$
$$$$ $$$$$$$$$s ̀ S$$$$$$$$$$$$$$$$$$$$$$$$$$$$$' $$$$$$$$$$$$$ $$$$
$$$$ $$$$$$$$$$. ̀ S$$$$$$$$$$$$$$$$$$$$$$$$' $$$$$$$$$$$$$ $$$$
$$$$ $$$$$$$$$$$. ̀ 4$$$$$$$$$$$$$$$$$$$$' $$$$$$$$$$$$$ $$$$
$$$$ $$$$$$$$$$$$. ̀ 4$$$$$$$$$$$$$$$$$' $$$$$$$$$$$$$ $$$$
$$$$ $$$$$$$$$$$$$s ̀ $$$$$$$$$$$$$$$' .$$$$$$$$$$$$$ $$$$
$$$$ $$$$$$$$$$$$$$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$$$$$$$$$$$. $$$$$$$$$$$$$$$$$$ $$$$
$$$$ $$$$$$$$$$$$$$$$$$$$$$s. $$$$$$$$$$$$$$$$$$ $$$$
$$$$ $$$$$$$$$$$$$$$$$$$$$$$$Ss. .$$$$$$$$$$$$$$$$$$ $$$$
$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$7 .s$$$$$$$$$$$$$$$$$$ $$$$
$$$$ $$$$$$$$$$$$$$$$$$$$$$$$j$$$j .ss7 .sS$$ $$$$$$$$$$$$$$$$$ $$$$
$$$$ $$$$$$$$$$$$$$$$$$$$$$$$ $$$$ s$$S$$ .sS$$$$$' .4$$$$$$$$$$$$$$$$$ $$$$
$$$$ $$$$$$$$$$$$$$$$$$$$$$$$ ̀ S$jS' $$$$j$$$' .4$$$$$$$$$$$$$$$$$$$ $$$$
$$$$ S$$$$$$$$$$$$$$$$$$$$$$$ $$S' .4$$$$$$$$$$$$$$$$$$$$$S $$$$
$$$$ $$$$$$$$$$$$$$$$$$$$$$$ .sS$$s $ .sS$$$$$$$$$$$$$$$$$$$$$$$$$ $$$$
$$$$S. ̀ $$$$$$$$$$$$$$$$$$$$$s$$$$$$$. $$$$$$$$$$$$$$$$$$$$$$$$$$$$$' .S$$$$
$$$$$$$. ̀ S$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$S' .s$$$$$$
$$$$$$$$$. .$$$$$$$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$[dp]$$$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Yes, this isvalid YAML
It usesvalid YAML
- name: ...
strategy: free
hosts:
- amazon-webservers
roles:
- common
- webservers
- application
DEPLOY.YML playbook
play #1
tasks
IDEMPOTENCELAST BUZZWORD BEFORE DEMO
"It has to be noted, anyway, that it is perfectly possible to havea poorly written playbook that is not idempotent."
Compute Engine Management with Puppet, Chef, Salt, and Ansible
Why we use Terraform and not Chef, Puppet, Ansible,SaltStack, or CloudFormation
15 Things You Should Know About Ansible
INTERESTINGLINKS