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.
Individual sections:
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
ā”ļø http://ubuntuserverbook.com
š Support me on Patreon and get early access to new content!
ā”ļø https://learnlinux.link/patron
āļø Get $100 toward your own cloud server with Linode!
ā”ļø http://linode.com/learnlinuxtv
š Wiki article for this video:
ā”ļø https://www.learnlinux.tv/encrypting-files-with-ansible-vault/
šļø Ansible Pull tutorial:
ā”ļø https://youtu.be/sn1HQq_GFNE
šļø Full Ansible tutorial series:
ā”ļø https://tinyurl.com/y6drcwb3
šļø Tmux tutorial series:
ā”ļø https://tinyurl.com/yxjl3v6o
š Install Ansible:
ā”ļø https://tinyurl.com/yyt73e8b
š Keepassxc download:
ā”ļø https://keepassxc.org/download/
š Affiliate store for Linux compatible hardware/accessories (commission earned):
ā”ļø https://learnlinux.link/amazon
š» Check out the Tiny Pilot KVM for your Homelab (commission earned):
ā”ļø https://learnlinux.link/tinypilot
š» Check out Shells.com and spin up your very own Linux or Windows desktop in the cloud (commission earned):
ā”ļø https://learnlinux.link/shells
š¦ Follow me on Twitter!
ā”ļø https://learnlinux.link/twitter
š¬ Official LearnLinux.tv Community:
ā”ļø https://community.learnlinux.tv
šØ More about me:
ā”ļø https://www.jaylacroix.com
ā”ļø https://www.learnlinux.tv/about-me
š½ How to create a bootable flash drive for installing Linux:
ā”ļø https://linux.video/flash-usb
š§ Which distro do I use?
ā”ļø https://learnlinux.link/mydistro
š How to better secure OpenSSH:
ā”ļø https://linux.video/secure-ssh
āļø How to create a cloud Linux server with Linode:
ā”ļø https://learnlinux.link/create-linode
source
Love your videos! Your ansible series is so well put together and complete that I decided to become a patreon supporter.
Don't you need to update the ansible user and cron job too?
Jay your videos are amazing. Our group manager last week mandated we use Ansible-Vault immediately. Thanks for your efforts Jay! Excellent presentation š
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 ?
Excellent explanation, you did a great job teaching it, thank you so much
Hey, would you like to explain us how to execute ansible playbooks on multiple hosts with different passwords.
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?
Been struggling with this for months. as usual you come in and solve it
Best distro for battery life?
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.