Upgrade to Pro — share decks privately, control downloads, hide ads and more …

AnsibleFest SF 2014 - What's New In Ansible 1.7...

AnsibleFest SF 2014 - What's New In Ansible 1.7/1.8

Slides from keynote at AnsibleFest San Francisco, October 14th, 2014.

Michael DeHaan

October 14, 2014
Tweet

More Decks by Michael DeHaan

Other Decks in Programming

Transcript

  1. HI!

  2. GITHUB AND ELSEWHERE First of all, thanks! You are keeping

    us busy! Keep doing it! 890+ contributors to date Top 100 most forked projects on GitHub (2400+) at least 38% of Forks result in contributions
  3. WINDOWS MANAGEMENT PREVIEW uses Windows powershell remoting modules in PowerShell

    or can push raw PowerShell setup script - h o s t s : w i n g r o u p c o n n e c t i o n : w i n r m t a s k s : - w i n _ p i n g
  4. RUN_ONCE - t a s k s : - y

    u m : n a m e = f o o s t a t e = l a t e s t - l o c a l _ a c t i o n : / u s r / s b i n / f o o r u n _ o n c e : T r u e - s e r v i c e : n a m e = f o o s t a t e = s t a r t e d
  5. FACT CACHING uses Redis (memcached also available) store playbook variables

    / facts between executions [ d e f a u l t s ] f a c t _ c a c h i n g = r e d i s f a c t _ c a c h i n g _ t i m e o u t = 8 6 4 0 0 # s e c o n d s
  6. NO_LOG TWEAKS previoulsy surpressed syslog now surpresses CLI / callback

    output as well t a s k s : - c o m m a n d : / u s r / b i n / f o o - - p a s s w o r d = s e c r e t n o _ l o g : T r u e
  7. ANSIBLE-GALAXY CLI UPGRADES requirements.yml be able to install from multiple-repos

    not just galaxy git, hg, tarballs, and galaxy a n s i b l e - g a l a x y - f r e q u i r e m e n t s . y m l # f r o m g a l a x y - s r c : y a t e s r . t i m e z o n e # f r o m g i t h u b - s r c : h t t p s : / / g i t h u b . c o m / b e n n o j o y / n g i n x # f r o m g i t h u b i n s t a l l i n g t o a r e l a t i v e p a t h - s r c : h t t p s : / / g i t h u b . c o m / b e n n o j o y / n g i n x p a t h : v a g r a n t / r o l e s / # f r o m g i t h u b , o v e r r i d i n g t h e n a m e a n d s p e c i f y i n g a s p e c i f i c t a g - s r c : h t t p s : / / g i t h u b . c o m / b e n n o j o y / n g i n x v e r s i o n : m a s t e r n a m e : n g i n x _ r o l e # f r o m a w e b s e r v e r , w h e r e t h e r o l e i s p a c k a g e d i n a t a r . g z - s r c : h t t p s : / / s o m e . w e b s e r v e r . e x a m p l e . c o m / f i l e s / m a s t e r . t a r . g z n a m e : h t t p - r o l e
  8. DOCKER IMAGES base images for faster ansible playbook builds using

    Docker Hub Ubuntu and CentOS development and latest stable release
  9. REFACTORINGS (ONGOING 1.9/...) reorganize after years of glorious OSS contribution

    hailstorm :) focus on hybrid-OO/functional architecture, TDD enable features like blocks, try/except, future language changes simplify module and templating internals enable line number reporting