Encrypting Files with Ansible Vault

preview_player
Показать описание
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

🙌 Support me on Patreon and get early access to new content!

☁️ Get $100 toward your own cloud server with Linode!

📖 Wiki article for this video:

🎞️ Ansible Pull tutorial:

🎞️ Full Ansible tutorial series:

🎞️ Tmux tutorial series:

🔗 Install Ansible:

🔗 Keepassxc download:

🛒 Affiliate store for Linux compatible hardware/accessories (commission earned):

💻 Check out the Tiny Pilot KVM for your Homelab (commission earned):

🐦 Follow me on Twitter!

👨 More about me:

💽 How to create a bootable flash drive for installing Linux:

🐧 Which distro do I use?

🔐 How to better secure OpenSSH:

☁️ How to create a cloud Linux server with Linode:
Рекомендации по теме
Комментарии
Автор

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

Alexcide
Автор

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

wekiwa
Автор

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

bradleystannard
Автор

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?

nahum
Автор

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

jantjek
Автор

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...

brianturney
Автор

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

DagoGallo
Автор

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 ?

pralaybagde
Автор

your videos are great and to the point

cd-stephen
Автор

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

Panic_
Автор

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.

mihir.mishra