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

Ansible in a container era

Yann Coleu
November 02, 2016

Ansible in a container era

How Ansible can help adopting container technologies and why it is important to wonder about its new role in the no-ssh era.

Yann Coleu

November 02, 2016
Tweet

Other Decks in Programming

Transcript

  1. Description • February 20, 2012 • Configuration management • Over

    SSH or WinRM Design • Minimal • States • Modularity • Minimal learning curve wikipedia
  2. - name: run nginx container shell: “docker run --name webserver

    -d nginx:latest” - name: run nginx container docker_container: name: webserver image: nginx:latest state: started Module documentation Old blog posts
  3. - name: restart nginx service: name: nginx state: restarted -

    name: restart nginx service: name: nginx state: restarted when: “ansible_virtualization_type != 'docker'” Check out my Gist file ! Roles authors should know