Getting started with Ansible 11 – Managing Files

    12
    16



    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): https://linux.video/ansible1
    Part 2 (SSH Overview & Setup): https://linux.video/ansible2
    Part 3 (Setting up the Git Repository): https://linux.video/ansible3
    Part 4 (Running Commands): https://linux.video/ansible4
    Part 5 (Running Elevated Commands): https://linux.video/ansible5
    Part 6 (Writing our First Playbook): https://linux.video/ansible6
    Part 7 (The ‘when’ Conditional): https://linux.video/ansible7
    Part 8 (Improving your Playbook): https://linux.video/ansible8
    Part 9 (Targeting Specific Nodes): https://linux.video/ansible9
    Part 10 (Tags): https://linux.video/ansible10
    Part 11 (This video)
    Part 12 (Managing Services): https://linux.video/ansible12
    Part 13 (Adding Users & Bootstrapping): https://linux.video/ansible13
    Part 14 (Roles): https://linux.video/ansible14
    Part 15 (Host Variables): https://linux.video/ansible15
    Part 16 (Templates): https://linux.video/ansible16

    Wiki article for this video:
    https://www.learnlinux.tv/getting-started-with-ansible-11-managing-files/

    šŸ™Œ Support me on Patreon and get early access to new content!
    āž”ļø https://learnlinux.link/patron

    ā˜ļø Get $100 in credit toward deploying your very own Linux servers on Linode!
    āž”ļø http://linode.com/learnlinuxtv

    šŸ›’ 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

    šŸ“– Check out jay’s latest book, Mastering Ubuntu Server 3rd Edition. Available now!
    āž”ļø https://ubuntuserverbook.com

    šŸ‘Ø 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

    #LearnLinuxTV #LearnAnsible #Ansible

    source

    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

    16 COMMENTS

    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.

      Thanks