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

AnsibleWorkshopMay2019.pdf

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on.

 AnsibleWorkshopMay2019.pdf

Avatar for Andreas Mosti

Andreas Mosti

May 14, 2019
Tweet

More Decks by Andreas Mosti

Other Decks in Programming

Transcript

  1. Key takeaways • Infrastructure as Code • Configuration Management •

    What can Ansible solve? • What can it not solve? • Enough knowledge to understand the key principles
  2. • Application platforms / runtimes • Permissions • Users •

    Firewall rules • Config Files • Updates • Running Services • Upgrades
  3. • Application platforms / runtimes • Permissions • Users •

    Firewall rules • Config Files • Updates • Running Services • Upgrades 20
  4. The benefits of Infrastructure as Code: 1) Automation 2) Version

    control 3) Code Review 4) Testing 5) Documentation 6) Reuse
  5. WinRM Port 5986 Local / AD admin user w. remoting

    Powershell 3.0 ConfigureRemotingForAnsible.ps1
  6. From least to most important: • role defaults • group_vars/

    • host_vars/ • host facts • play vars • include_vars • set_facts • extra vars