Percy Grunwald from TopTechSkills
Percy Grunwald from TopTechSkills
  • Видео 27
  • Просмотров 1 164 804
Ansible: Read remote files into variables with the Slurp module (+ alternatives)
🛠️ DEV ENVIRONMENT SETUP in the FREE part of my Ansible course (Productive with Ansible): learn.toptechskills.com/courses/productive-with-ansible (early access)
✅ Full code from the video on Github: github.com/toptechskills/yt-2024-ansible-slurp
In this tutorial I show you how you can read remote files into variables using Ansible's slurp module. The Ansible slurp module can read plain text, JSON or YAML files on remote target hosts into variables you can use in your Ansible playbooks. We start with the most basic example of reading a remote plain text file into a variable with slurp, then move to reading JSON and YAML structured data (objects). Finally I'll show you how you can use the she...
Просмотров: 514

Видео

How to Install & Enable WSL in Windows 10 (+ how to access files)
Просмотров 157 тыс.5 лет назад
In this video you’ll see how to install and enable WSL in Windows 10, install the Ubuntu 18.04 Linux distribution and access your Windows files from the WSL command line. Windows Subsystem for Linux (WSL) lets you run a Linux dev environment directly on your Windows 10 machine without the need for a virtual machine. With WSL installed, you’re able to use Linux command line tools like ssh and vi...
How to Install Ubuntu 18.04 on VirtualBox (with Guest Additions)
Просмотров 35 тыс.5 лет назад
Ubuntu 18.04 (Bionic Beaver) is a long term support (LTS) release of the Ubuntu Linux distribution released in April of 2018 and supported until April of 2028. In this guide you’ll see how you can install Ubuntu 18.04 on VirtualBox, a popular cross-platform software for running virtual machines. These instructions will work for creating an Ubuntu 18.04 virtual machine on Windows, Linux and Mac ...
Exercism Walkthrough - Elixir Lang - Parallel Letter Frequency
Просмотров 1,1 тыс.5 лет назад
"Parallel Letter Frequency" is a medium difficulty problem on Exercism's Elixir track that I found really interesting to solve and really shows off how easy it is to add concurrency to your Elixir code using the Task module. If you're interested in learning more about the Elixir language, this is a great Exercism programming challenge to try! Exercism (exercism.io) is a site where you can impro...
How to Speed Up Ansible Playbooks Over 600%
Просмотров 18 тыс.5 лет назад
🎓 My new Ansible Course (Productive with Ansible, 2024) now in Early Access: learn.toptechskills.com/courses/productive-with-ansible ✅ Full article with in-depth benchmarks in different regions bit.ly/2Slzbpa Running Ansible playbooks against many hosts can be painfully slow, especially if they are in a region far away from you. I’m always looking for ways to speed up my playbooks and I’ve been...
Rapidly Build & Test Ansible Roles with Molecule + Docker
Просмотров 31 тыс.5 лет назад
🎓 My new Ansible Course (Productive with Ansible, 2024) now in Early Access: learn.toptechskills.com/courses/productive-with-ansible Molecule is a tool originally developed by retr0h and now maintained by Ansible/Red Hat that automates testing of Ansible roles. Instead of a highly manual process, testing a role against any number of distros is as simple as running molecule test. Molecule has ma...
Ansible Shell Module Tutorial - Complete Beginner's Guide
Просмотров 24 тыс.5 лет назад
🎓 My new Ansible Course (Productive with Ansible, 2024) now in Early Access: learn.toptechskills.com/courses/productive-with-ansible The Ansible Shell Module allows you to run arbitrary commands on a remote host, just like you were logged into the shell. The Shell and Command modules are very similar, the major difference being that the shell module does not escape commands, allowing you to use...
Ansible Yum Module Tutorial - Complete Beginner's Guide
Просмотров 8 тыс.5 лет назад
🎓 My new Ansible Course (Productive with Ansible, 2024) now in Early Access: learn.toptechskills.com/courses/productive-with-ansible The Ansible Yum Module allows you to manage packages on remote hosts that have the Yum package manager installed. The Yum package manager is the default on Red Hat-based operating systems such as CentOS and Red Hat Enterprise Linux. I've split this video into sect...
Ansible Command Module Tutorial - Complete Beginner's Guide
Просмотров 13 тыс.5 лет назад
🎓 My new Ansible Course (Productive with Ansible, 2024) now in Early Access: learn.toptechskills.com/courses/productive-with-ansible In this tutorial video I give you a complete beginner's guide to the Ansible Command Module. You can use Ansible's Command Module to run arbitrary commands on a remote host, just like you were logged in to the shell. The Ansible Command and Shell Modules are quite...
Ansible Apt Module Tutorial - Complete Beginner's Guide
Просмотров 6 тыс.5 лет назад
🎓 My new Ansible Course (Productive with Ansible, 2024) now in Early Access: learn.toptechskills.com/courses/productive-with-ansible In this tutorial video I give you a complete beginner's guide to the Ansible Apt Module. You can use the Ansible Apt Module to manage packages on operating systems that have the `apt` package manager installed. `apt` or APT (Advanced Package Tool) is the default p...
Ansible Advanced Template Loops Tutorial - Use Loop Vars in Your Templates
Просмотров 27 тыс.5 лет назад
🎓 My new Ansible Course (Productive with Ansible, 2024) now in Early Access: learn.toptechskills.com/courses/productive-with-ansible In this tutorial video I respond to a question on my Ansible Template Tutorial post on Reddit (bit.ly/2RC73T6). @movethrowaway2018 asked: "How do I replace vars in the template that change with each loop? For example, what if I want to copy a template for a .gitco...
Ansible Template Module Tutorial - Complete Beginner's Guide
Просмотров 32 тыс.5 лет назад
🎓 My new Ansible Course (Productive with Ansible, 2024) now in Early Access: learn.toptechskills.com/courses/productive-with-ansible In this tutorial video I give you a complete beginner's guide to the super useful Ansible Template Module. You can use the Ansible Template Module to write files to a remote host using the Jinja2 templating language. The Jinja2 templating language lets you write f...
Ansible Copy Module Tutorial - Complete Beginner's Guide
Просмотров 18 тыс.5 лет назад
🎓 My new Ansible Course (Productive with Ansible, 2024) now in Early Access: learn.toptechskills.com/courses/productive-with-ansible In this tutorial video I give you a complete beginner's guide to the super useful Ansible Copy Module. You can use the Ansible Copy Module to copy files from your local host to a remote host, copy files between locations on the remote host, as well as put text con...
Ansible Fetch Module Tutorial - Complete Beginner's Guide
Просмотров 13 тыс.5 лет назад
🎓 My new Ansible Course (Productive with Ansible, 2024) now in Early Access: learn.toptechskills.com/courses/productive-with-ansible In this tutorial video I give you a complete beginner's guide to the Ansible Fetch Module. The Ansible Fetch Module is used to download files from your remote hosts to your local host. I've split this video into sections to make it easier to navigate: - 0:40 Defau...
My Ansible Setup for Tutorials
Просмотров 8 тыс.5 лет назад
In this video I show you how I set up Ansible for my tutorial videos. I go through my ansible.cfg, inventory hosts file and my group variables for different hosts. In my tutorial videos I run Ansible playbooks against 2 hosts: one running CentOS 7 and another running Ubuntu Bionic 18.04. They are both just AWS EC2 instances running the base images for the OS. Thanks for watching and hope it's e...
Ansible File Module Tutorial - Complete Beginner's Guide
Просмотров 28 тыс.5 лет назад
Ansible File Module Tutorial - Complete Beginner's Guide
Exercism Walkthrough - Elixir Lang - Tournament Problem
Просмотров 1,1 тыс.5 лет назад
Exercism Walkthrough - Elixir Lang - Tournament Problem
Exercism Walkthrough - Elixir Lang - Grade School
Просмотров 5095 лет назад
Exercism Walkthrough - Elixir Lang - Grade School
Exercism Walkthrough - Elixir Lang - Isogram Problem
Просмотров 6685 лет назад
Exercism Walkthrough - Elixir Lang - Isogram Problem
Exercism Walkthrough - Elixir Lang - Beer Song
Просмотров 4645 лет назад
Exercism Walkthrough - Elixir Lang - Beer Song
Absolute BEGINNER Guide to the Mac OS Terminal
Просмотров 740 тыс.5 лет назад
Absolute BEGINNER Guide to the Mac OS Terminal

Комментарии

  • @philiprand3720
    @philiprand3720 4 дня назад

    well down!

  • @JoeVenture1
    @JoeVenture1 10 дней назад

    please update your video

  • @mreddy7356
    @mreddy7356 16 дней назад

    thank you i have a problem downloading a file from internet.terminal starts with % instead of $.I am able to find the file ZIP file iwhen i click on ls when i use cd command file not seen please give your opinion Thank you

  • @Portia620
    @Portia620 16 дней назад

    Your awesome!!! Thank you so much!!! ❤

  • @jlaou
    @jlaou 23 дня назад

    Great video , you helped me with the project that I was stoked for 2 days Thank you so much

  • @johnnyholiday1150
    @johnnyholiday1150 Месяц назад

    Simple clear and on point 👌

  • @georgyurumov8095
    @georgyurumov8095 Месяц назад

    amazing video! is there anything for more advanced terminal users? for example on ssh?

  • @chrissphinx
    @chrissphinx Месяц назад

    awesome to see you back! more elixir? 😄

    • @toptechskills
      @toptechskills Месяц назад

      Thanks @chrissphinx! Oh man, it’s been so long since I wrote Elixir, but would be interested to check it out again. I still think it’s the most enjoyable language I’ve used for web dev specifically.

  • @JodyFletcherTX
    @JodyFletcherTX Месяц назад

    Great stuff. Thank you

  • @toptechskills
    @toptechskills Месяц назад

    G'day everyone, if you're currently learning Ansible and want to see how all these modules fit together to build something useful, please consider checking out my course and letting me know what you think! It's currently in "early access" while I finish off the last chapter, and the first part of the course is free so you can try it out: learn.toptechskills.com/courses/productive-with-ansible. Thanks for all your support and happy coding!

  • @toptechskills
    @toptechskills Месяц назад

    G'day everyone, if you're currently learning Ansible and want to see how all these modules fit together to build something useful, please consider checking out my course and letting me know what you think! It's currently in "early access" while I finish off the last chapter, and the first part of the course is free so you can try it out: learn.toptechskills.com/courses/productive-with-ansible. Thanks for all your support and happy coding!

  • @toptechskills
    @toptechskills Месяц назад

    G'day everyone, if you're currently learning Ansible and want to see how all these modules fit together to build something useful, please consider checking out my course and letting me know what you think! It's currently in "early access" while I finish off the last chapter, and the first part of the course is free so you can try it out: learn.toptechskills.com/courses/productive-with-ansible. Thanks for all your support and happy coding!

  • @toptechskills
    @toptechskills Месяц назад

    G'day everyone, if you're currently learning Ansible and want to see how all these modules fit together to build something useful, please consider checking out my course and letting me know what you think! It's currently in "early access" while I finish off the last chapter, and the first part of the course is free so you can try it out: learn.toptechskills.com/courses/productive-with-ansible. Thanks for all your support and happy coding!

  • @toptechskills
    @toptechskills Месяц назад

    G'day everyone, if you're currently learning Ansible and want to see how all these modules fit together to build something useful, please consider checking out my course and letting me know what you think! It's currently in "early access" while I finish off the last chapter, and the first part of the course is free so you can try it out: learn.toptechskills.com/courses/productive-with-ansible. Thanks for all your support and happy coding!

  • @toptechskills
    @toptechskills Месяц назад

    G'day everyone, if you're currently learning Ansible and want to see how all these modules fit together to build something useful, please consider checking out my course and letting me know what you think! It's currently in "early access" while I finish off the last chapter, and the first part of the course is free so you can try it out: learn.toptechskills.com/courses/productive-with-ansible. Thanks for all your support and happy coding!

  • @toptechskills
    @toptechskills Месяц назад

    G'day everyone, if you're currently learning Ansible and want to see how all these modules fit together to build something useful, please consider checking out my course and letting me know what you think! It's currently in "early access" while I finish off the last chapter, and the first part of the course is free so you can try it out: learn.toptechskills.com/courses/productive-with-ansible. Thanks for all your support and happy coding!

  • @toptechskills
    @toptechskills Месяц назад

    G'day everyone, if you're currently learning Ansible and want to see how all these modules fit together to build something useful, please consider checking out my course and letting me know what you think! It's currently in "early access" while I finish off the last chapter, and the first part of the course is free so you can try it out: learn.toptechskills.com/courses/productive-with-ansible. Thanks for all your support and happy coding!

  • @toptechskills
    @toptechskills Месяц назад

    G'day everyone, if you're currently learning Ansible and want to see how all these modules fit together to build something useful, please consider checking out my course and letting me know what you think! It's currently in "early access" while I finish off the last chapter, and the first part of the course is free so you can try it out: learn.toptechskills.com/courses/productive-with-ansible. Thanks for all your support and happy coding!

  • @toptechskills
    @toptechskills Месяц назад

    G'day everyone, if you're currently learning Ansible and want to see how all these modules fit together to build something useful, please consider checking out my course and letting me know what you think! It's currently in "early access" while I finish off the last chapter, and the first part of the course is free so you can try it out: learn.toptechskills.com/courses/productive-with-ansible. Thanks for all your support and happy coding!

  • @toptechskills
    @toptechskills Месяц назад

    G'day everyone, if you're currently learning Ansible and want to see how all these modules fit together to build something useful, please consider checking out my course and letting me know what you think! It's currently in "early access" while I finish off the last chapter, and the first part of the course is free so you can try it out: learn.toptechskills.com/courses/productive-with-ansible. Thanks for all your support and happy coding!

  • @AbdoTawdy
    @AbdoTawdy Месяц назад

    thanks for your content can you explain plugins? , like lookup plugin ls ansible.cfg ansible localhost -m debug -a "msg={{lookup('file', 'ansible.cfg')}}" this command read a file

    • @toptechskills
      @toptechskills Месяц назад

      Good question, the main difference between the lookup plugins and something like the slurp module is that plugins read files _on your local/control machine_ (not the remote/target host). From the docs (docs.ansible.com/ansible/latest/plugins/lookup.html): > Like all templating, lookups execute and are evaluated on the Ansible control machine. If you're trying to read files on your local/control machine, lookup plugins will work fine. If you're trying to read files on a remote/target host, you can use one of the modules I show in the video (slurp, command, shell). Hope that answers your question.

  • @aabidakhan3458
    @aabidakhan3458 2 месяца назад

    Hello Sir..my macbook terminal showing this error([forkpty: Device not configured] [Could not create a new process and open a pseudo-tty.] ) i can i figure out this ..m not able to type anything on it

  • @realrosanaandre
    @realrosanaandre 2 месяца назад

    Thank you so much, excellent video!

  • @samuelbimbo2202
    @samuelbimbo2202 2 месяца назад

    I need a simple playbook that would run this command: "netstat -tulpn | grep LISTEN" and provide the output in a file in /tmp/.

    • @toptechskills
      @toptechskills 2 месяца назад

      The shell module is the right one to use here, just provide the argument as you would if you were using a local shell: "netstat -tulpn | grep LISTEN > /tmp/netstat_output"

  • @brianrowland9993
    @brianrowland9993 2 месяца назад

    Excellent - clear and concise explanation to overcome Terminal anxiety! I hope you have more presentations to build on the basics! Subscribed!

  • @mephak
    @mephak 2 месяца назад

    Why do you have to add stupid music and very loud???

    • @toptechskills
      @toptechskills 2 месяца назад

      It is a bit too loud, isn't it

  •  2 месяца назад

    Thanks a lot, can you please advice more advanced videos on the subject

  • @Good_BorisAV
    @Good_BorisAV 3 месяца назад

    _Thank you very much!_ 🇷🇺

  • @casitalynch6921
    @casitalynch6921 3 месяца назад

    OMG I am so relieved watching this video. Thank you!!!

  • @premkarki2
    @premkarki2 4 месяца назад

    Awesome 👏🏻

  • @sobysonics
    @sobysonics 5 месяцев назад

    summary pwd: use to get current directory ls: list of files in current directory cd: change directory cd .: takes you back to previous directory cd .: get current directory clear (or cmd+k): cleans upterminal cd ~: goes to home directory touch: create new file nano: use before file name to then edit the file name up/down: use to move through history of terminal rm: remove, can use to remove file mkdir: use to make new folder/directory make file without changing directory: touch test_directory/test_file.txt rm -r: use to remove directory and its records warning: rm does not move things to trash, it deletes them directly

  • @ankukumar-hi2jt
    @ankukumar-hi2jt 5 месяцев назад

    how we can copy someting to a file without overwriting existing contecnt

    • @toptechskills
      @toptechskills 5 месяцев назад

      The `copy` module has a `backup` parameter that will create a backup of the original file (if it changed). docs.ansible.com/ansible/latest/collections/ansible/builtin/copy_module.html#parameters

  • @marinapizarro-krkljus2849
    @marinapizarro-krkljus2849 5 месяцев назад

    I can't express how helpful this video is, THANK YOU so much

  • @nickjames2651
    @nickjames2651 5 месяцев назад

    So clear and understandable thank you!!!!

  • @ketanthombare9392
    @ketanthombare9392 6 месяцев назад

    really really usefull tutorial

  • @user-kf8zj3ov9n
    @user-kf8zj3ov9n 7 месяцев назад

    I am still trying to do the tilde sign.. I am that stupid

    • @Portia620
      @Portia620 16 дней назад

      Don’t talk to yourself that way!!! 😂. I get it! You will get it! Don’t give up and it looks like bacon on left side of keyboards at top. Bacon 🥓

  • @jidetolenu
    @jidetolenu 7 месяцев назад

    Thank you I’ve completely deleted all my files in my desktop and they’re not in my bin. 😂😂😂😂

  • @graweb55
    @graweb55 7 месяцев назад

    Please see the comment below to advise me which terminal commands I can use to rectify the problem I'm having with my iMac. G'day fellow computer enthusiasts. I have a circa 2009 iMac 27" 1352 running macOS High Sierra 10.13.6. Here's the story so far. Computer always boots 👢 to recovery mode no matter what I have tried so far. I am trying to avoid a USB recovery as I don't want to lose data, which is circa 280GB. Also, I don't want to pay for data recovery software. This is what I have done so far 1) Recovery Mode/Disk Utility (refer to picture's) 2) Initially Disk0 was showing full 1TB Untitled 3) OS X Base System circa 1.5 GB Disk0s2 All options were available, so I chose to click on the recover option of OS X Base System. After that, Disk0 showing full at 1TB but instead of Untitled it has changed to OS X Base System with all options greyed out. Disk0s2 is the same except OS X Base System now has a smiley Mac face with all options greyed out. I am using a PC keyboard as I don't have a Mac keyboard yet. No matter what start up options or terminal commands I try, I am coming to a brick 🧱 wall. I have spent many hours so far & don't want to give in to formatting. I know someone out there with more knowledge than me has the answer. If you are a computer enthusiast as I am you will understand my passion. What a great sense of achievement it will be to be able to boot 🥾 to the desktop without formatting & no loss of data. Please help me to bring my computer back to its former glory.

  • @zxcvbnm66161
    @zxcvbnm66161 7 месяцев назад

    Thank You!

  • @Fremulshmat
    @Fremulshmat 7 месяцев назад

    This is a brilliant tutorial. Clear and concise explanations. Thanks for posting

  • @user-cf9iu6tg5c
    @user-cf9iu6tg5c 7 месяцев назад

    Thank you, your video was incredibly helpful!

  • @paulksacco
    @paulksacco 8 месяцев назад

    Thank you. I am a very old man to whom Terminal was a scary place. Now I see that it's like my life in DOS and pre-DOS! Baby Steps!

  • @tree70373
    @tree70373 8 месяцев назад

    It's really a nice tutorial! Thanks a lot!

  • @heminthehat
    @heminthehat 8 месяцев назад

    Amazing job demystifying the dreaded terminal! Great tutorial. Easy to follow!

  • @timmytesla9655
    @timmytesla9655 8 месяцев назад

    I needed to learn this quickly. Your video has really helped. Thank you.

  • @user-ye8vs6sj1p
    @user-ye8vs6sj1p 8 месяцев назад

    really helpful, thanks for the video :)

  • @FRANKWHITE1996
    @FRANKWHITE1996 8 месяцев назад

    great

  • @joecrak249
    @joecrak249 8 месяцев назад

    I LOVED TTHIS

  • @mram1690
    @mram1690 8 месяцев назад

    hi inmy macbook pro zsh and ls commands is not working what is the issue please

    • @toptechskills
      @toptechskills 5 месяцев назад

      What error do you get when you try to run "ls"?

  • @brianmvukwe5506
    @brianmvukwe5506 8 месяцев назад

    Not me doing this and my mancine restarting halfway through the video🤡