Getting started with Ansible 11 – Managing Files


    Ansible is an incredible configuration management and provisioning utility that enables you to automate all the things. In this series, you’ll learn everything you need to know in order to use Ansible for your day-to-day administration duties. In video #11, we look at a few methods of copying files to target nodes.

    Full series:
    Part 1 (Introduction):
    Part 2 (SSH Overview & Setup):
    Part 3 (Setting up the Git Repository):
    Part 4 (Running Commands):
    Part 5 (Running Elevated Commands):
    Part 6 (Writing our First Playbook):
    Part 7 (The ‘when’ Conditional):
    Part 8 (Improving your Playbook):
    Part 9 (Targeting Specific Nodes):
    Part 10 (Tags):
    Part 11 (This video)
    Part 12 (Managing Services):
    Part 13 (Adding Users & Bootstrapping):
    Part 14 (Roles):
    Part 15 (Host Variables):
    Part 16 (Templates):

    Wiki article for this video:

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

    ☁️ Get $100 in credit toward deploying your very own Linux servers on Linode!

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

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

    💻 Check out and spin up your very own Linux or Windows desktop in the cloud (commission earned):

    🐦 Follow me on Twitter!

    💬 Official Community:

    📖 Check out jay’s latest book, Mastering Ubuntu Server 3rd Edition. Available now!

    👨 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:

    #LearnLinuxTV #LearnAnsible #Ansible


    Previous articleAnsible-playbook — YAML Scripting | video – 8 | How to use loops in Ansible – playbooks ?
    Next articleChange local user password on Windows-like systems – Ansible module win_user


    1. Fantastic ansible videos, excellent clear and precise presentations..
      one question, in 17:30 inn this video you had to ssh to the workstation, I assume to sort out the finger print, my question is what if you had 100,s or 1000,s of such work stations?? surely you wouldnt have to ssh to each one to sort the finger printing.. your advise would be greatly appreciated .. thanking you in advance

    2. I am starting to learn Ansible. I need to find a way to actually input data into a file, for example, let's say I want the User to be asked "What is the ip address of remote machine?" followed by, "What is the FQDN or DNS name of the remote machine?"…. Now I want both of those two answers to be placed into "/etc/hosts".

      Another example would be "my.cnf" for mysql manipulation. How can I automate entries into this file or any file actually?

      I want to be able to automate a full, bespoke, freeradius solution for myself and need to know how to manipulate these files or it won't be fully automated.