Encrypting Files with Ansible Vault

    31
    10



    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

    Previous articleAnsible Automation | Launch EC2 Instance Using Ansible Playbook
    Next articleChange user password – Ansible module user

    10 COMMENTS

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