• 00. Vagrant Setup • 01. Basic inventory • 02. First modules and facts • 03. Groups and variables • 04. Playbooks • 05. Playbooks, pushing files on nodes • 06. Playbooks and failures • 07. ...
Ansible Notes
Linuxacademy Ansible AllplaybooksFull description
ansible automation
ansible automation
Full description
Ansible Whitepaper
Ansible for Aws Sample chapterFull description
Introdução ao Ansible
Ansible for Aws Sample chapter
Automating Junos® with AnsibleFull description
Ansible Best Practices for Startups to Enterprises
Taste Test Puppet Chef SaltStack Ansible Third Edition
AnsibleFull description
Taste Test Puppet Chef SaltStack Ansible Third EditionFull description
Ansible
Ansible
Ansible
Taste Test Puppet Chef SaltStack Ansible Third Edition
AnsibleFull description
Ansible
ansible bcn sudoers 20131105
In Science Fiction... “An ansible is a fictional machine capable capable of instantaneous or superluminal communication. “ http://en.wikipedia.org/wi http://en.wikip edia.org/wiki/Ansible ki/Ansible
In Science Fiction... “An ansible is a fictional machine capable capable of instantaneous or superluminal communication. “ http://en.wikipedia.org/wi http://en.wikip edia.org/wiki/Ansible ki/Ansible
In Science Fiction... “An ansible is a fictional machine capable capable of instantaneous or superluminal communication. “ http://en.wikipedia.org/wi http://en.wikip edia.org/wiki/Ansible ki/Ansible
In Science Fiction... “An ansible is a fictional machine capable capable of instantaneous or superluminal communication. “ http://en.wikipedia.org/wi http://en.wikip edia.org/wiki/Ansible ki/Ansible
In Open Source...
In Open Source...
IT orchestration engine created by Michael DeHaan Configuration Management Software Deployment Ad-Hoc Command Command Execution Execution
KISS
KISS !No
client setup
KISS !No
client setup
!SSH-based
KISS !No
client setup
!SSH-based !sudo-aware
Business Model
AnsibleWorks AnsibleW orks Commercial Support Non-free add-ons
# inventory file for production servers # inventory file for stage environment # here we assign variables to partic particular ular groups # "" # # # # #
if systems need specific variables, put them here "" master playbook playbook for webserver tier playbook for dbserver tier
# this hierarchy represents a "role" # # <-- tasks file can include smaller files if warranted # # <-- handlers file # <-- files for use with the template resource # <------- templates end in .j2 # # <-- files for use with the copy resource # <-- script files for use with the script resource # # <-- variables associated with this role # same kind of structure as "common" was above, done for the webtier role # "" # ""
Launch Playbook $ ansible-play -vvvv -i production playbook.yml
One-shot SSH is expensive
" "
"
!
" "
"
!
"
"
"
" "
!
Fireball Fir eball Mode
Persistent server Requires python-keyczar and python-zmq
Fireball Fir eball Mode
Transient T ransient ZMQ ZMQ queue + TCP TCP listener Unique, random key
Fireball Fir eball Mode
Fireball Fir eball Mode --- hosts: debian user: root # Uncomment next block to use fireball mode # gather_facts: false # connection: ssh # tasks: # - action: fireball # - hosts: debian # connection: fireball # End comment block for fireball mode vars: ...
Fireball Fir eball Mode --- hosts: debian user: root # Uncomment next block to use fireball mode # gather_facts: false # connection: ssh # tasks: # - action: fireball # - hosts: debian # connection: fireball # End comment block for fireball mode vars: ...
Acce cceler lerated ated Mode Mode
Supercedes Fireball Uses single TCP port Does not depend on ZMQ
Acce cceler lerated ated Mode Mode --- hosts: all accelerate: true # default port is 5099 accelerate_port: 10000