Encrypting Files with Ansible Vault

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ย. 2020
  • Ansible's vault feature gives you the ability to encrypt and decrypt files, and can be used with or without being included in playbooks. This tutorial will show you how to use this feature, and include examples of encrypting, decrypting, adding to a task book, and more.
    *Time Codes*:
    00:43 - Creating & Storing the vault password
    04:42 - Encrypting and Decrypting Files
    08:39 - Editing and viewing encrypted files directly
    10:21 - Using vault-encrypted files within playbooks
    18:31 - Changing the vault password
    📖 Check out jay's latest book, Mastering Ubuntu Server 3rd Edition.
    Available in the USA late December 2020, and in other countries early January 2021
    ➡️ ubuntuserverbook.com
    🙌 Support me on Patreon and get early access to new content!
    ➡️ learnlinux.link/patron
    ☁️ Get $100 toward your own cloud server with Linode!
    ➡️ linode.com/learnlinuxtv
    📖 Wiki article for this video:
    ➡️ www.learnlinux.tv/encrypting-...
    🎞️ Ansible Pull tutorial:
    ➡️ • Using Ansible "Pull" M...
    🎞️ Full Ansible tutorial series:
    ➡️ tinyurl.com/y6drcwb3
    🎞️ Tmux tutorial series:
    ➡️ tinyurl.com/yxjl3v6o
    🔗 Install Ansible:
    ➡️ tinyurl.com/yyt73e8b
    🔗 Keepassxc download:
    ➡️ keepassxc.org/download/
    🛒 Affiliate store for Linux compatible hardware/accessories (commission earned):
    ➡️ learnlinux.link/amazon
    💻 Check out the Tiny Pilot KVM for your Homelab (commission earned):
    ➡️ learnlinux.link/tinypilot
    🐦 Follow me on Twitter!
    ➡️ learnlinux.link/twitter
    💬 Official LearnLinux.tv Community:
    ➡️ community.learnlinux.tv
    👨 More about me:
    ➡️ www.jaylacroix.com
    ➡️ www.learnlinux.tv/about-me
    💽 How to create a bootable flash drive for installing Linux:
    ➡️ linux.video/flash-usb
    🐧 Which distro do I use?
    ➡️ learnlinux.link/mydistro
    🔐 How to better secure OpenSSH:
    ➡️ linux.video/secure-ssh
    ☁️ How to create a cloud Linux server with Linode:
    ➡️ learnlinux.link/create-linode
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 24

  • @Alexcide007
    @Alexcide007 2 ปีที่แล้ว +1

    Love your videos! Your ansible series is so well put together and complete that I decided to become a patreon supporter.

  • @wekiwa7055
    @wekiwa7055 2 ปีที่แล้ว

    Jay your videos are amazing. Our group manager last week mandated we use Ansible-Vault immediately. Thanks for your efforts Jay! Excellent presentation :)

  • @bradleystannard3492
    @bradleystannard3492 3 ปีที่แล้ว

    Been struggling with this for months. as usual you come in and solve it

  • @DagoGallo
    @DagoGallo 3 ปีที่แล้ว

    Excellent explanation, you did a great job teaching it, thank you so much

  • @nahum35
    @nahum35 3 ปีที่แล้ว

    When i thought of writing this comment, i felt that first of all i need to say THANK YOU JAY!!! you turned me ( and i guess a lot of viewers) from a novice user to a person who can build and support Ansible lab without a problem :), so thank you for that! Can you please create a tutorial of how to provision VM's in Ansible without the need to login with my cloud account?

  • @cd-stephen
    @cd-stephen ปีที่แล้ว

    your videos are great and to the point

  • @brianturney2124
    @brianturney2124 ปีที่แล้ว

    Great video. So you need the key and password to do any changes with ansible it looks like when you encrypt files and use vault. You copied that key to the server running ansible. It seems like it would be easy for some engineers to forget where they put the key, where they copied it, etc...

  • @jantje01k
    @jantje01k 3 ปีที่แล้ว +3

    Hey, would you like to explain us how to execute ansible playbooks on multiple hosts with different passwords.

    • @DagoGallo
      @DagoGallo 3 ปีที่แล้ว

      Yes please, I also want to know how to do that

  • @pralaybagde4804
    @pralaybagde4804 2 ปีที่แล้ว

    Hey jay ,loved ur ansible series it helped me alot in my office work , can u plz tell how to share ansible vault encrypted playbook to nodes ?

  • @Panic_1
    @Panic_1 2 ปีที่แล้ว

    Don't you need to update the ansible user and cron job too?

  • @mihir.mishra
    @mihir.mishra 3 ปีที่แล้ว +2

    Hey, can you make window manager tutorials too? Openbox and tiling window managers. I want to get into the window managers, but how to get into them no one tells me exactly.

    • @zerotheory941
      @zerotheory941 3 ปีที่แล้ว +1

      For many you just download them with the package manager then switch by choosing which environment from the login screen.

    • @mihir.mishra
      @mihir.mishra 3 ปีที่แล้ว

      @@zerotheory941 but for a new user, how to setup things key bindings and other stuff are very difficult. It would be great to have a guide along the process.

    • @zerotheory941
      @zerotheory941 3 ปีที่แล้ว +1

      @@mihir.mishra Yeah it's a bit more tricky with tiling wms because you've got to edit the config files yourself usually. Might I suggest looking at Arco Linux as they have a plethora of environments configured with instructions on how to use them as is or to change and create your own bindings and customizations. It's a learning curve for sure.

    • @mihir.mishra
      @mihir.mishra 3 ปีที่แล้ว

      @@zerotheory941don't know why but acro was buffering on my system so did manjaro.

    • @zerotheory941
      @zerotheory941 3 ปีที่แล้ว

      @@mihir.mishra What do you mean by buffering?

  • @muhammadarsh5523
    @muhammadarsh5523 3 ปีที่แล้ว +1

    Best distro for battery life?