Ansible Roles may save your life!

10 Comments



Perhaps not, but they will prevent many headaches in the future, so give me five minutes and forty eight seconds of your time and I’ll explain why you need Ansible Roles.

source

10 Comments
    • blank
      Dzintars Klavins
      May 09, 2022 18:51 pm Reply

      Yeah… roles totally changed my life. 🙂 I never understood all that mess people are making in playbooks directly. But currently i am looking how to… tidy up like… general purpose role and personal tweak roles. I mean… i would like to publish my general role of HAproxy to the Ansible Galaxy so i could take it from there at any time. But at the same time i have "private" configuration for that HAproxy server which i would like also to manage via role. I know, i can use Vault to store secrets and hide sensitive data, but management of two similar roles seems wrong. So… i should choose, do i want to make that role public or not. Still researching the best approaches.

    • blank
      Goldie Music
      May 09, 2022 18:51 pm Reply

      finally, a non indian tutorial.

    • blank
      Roushan J.
      May 09, 2022 18:51 pm Reply

      In 6 minutes or, less, roles have been explained really nicely. Thanks!!

    • blank
      Jamel B
      May 09, 2022 18:51 pm Reply

      Thank you for the video, but a pity that there is no concrete example 🙁

    • blank
      Jon Hopkins Jr
      May 09, 2022 18:51 pm Reply

      Thanks for this. There are literally hundreds of videos that describe how to use Roles with examples. However they all seem to forget to explain WHY we should. I’ve never been much of a “because that’s what the vendor suggests or that’s what everyone is doing” person. I needed to know what the point of roles are and why it is recommended that we migrate our playbooks to role. Thanks for the info.

    • blank
      LQ N
      May 09, 2022 18:51 pm Reply

      Great video and good channel content! You definitely deserve more views and subs!

    • blank
      Max Bigras
      May 09, 2022 18:51 pm Reply

      Making another video with a demo using roles that's linked by this video at the beginning and the end would be useful. Also giving a heads up at the beginning of the video that you're only going to talk about why you like roles and not how to use them would be nice!

    • blank
      me1ram
      May 09, 2022 18:51 pm Reply

      dissapointed.

    • blank
      Saheb
      May 09, 2022 18:51 pm Reply

      only making a video ain't gonna work, you must demonstrate as well. its a waste of time mere watching but not learning how exactly they work

Leave us a comment