Ansible Best Practices / Automated Folder setup using Ansible Copy and Ansible File Modules

preview_player
Показать описание
Watch me setup a playbook to create an automated folder structure for a new network automation project, this will also be useful for anyone wanting to understand the Ansible File and Ansible Copy modules to create folders and copy files.
Also look at Ansible Variables Vars files and how to reference them within a playbook

These are Ansible best practices I use every day

✅ Subscribe to my Channel and get more great tips
Рекомендации по теме
Комментарии
Автор

Good Job explaining and demonstrating (incl. normal human errors). also a good pace for all who watch. Cheers.

wendellbirkett
Автор

Nice video Roger, love the way you explain it. Do more Ansible stuff, thanks for sharing your experience 👍

davidraymond
Автор

Dear all new producers - don’t give up on that hope of making good soft

AkbarKhan-zqql
Автор

Up to you dawg, how good do you want it?

PrabhatKumar
Автор

I just create the tasks folder unless I have role specific vars

TheXiguazhi
Автор

Hi Roger, When attempting to create a new file in the Ansible directory, It gives below error
Unable to write file <path>/new-project.yml
(NoPermissions (FileSystemError): Error: EACCES: permission denied, open '<path>/new-project.yml')
I am running Ansible and VScode on Ubuntu Linux 20.04. I presume that this would also be an issue when the main Ansible task is run to create the working folder. Any idea why this is happening?

gboluakanni
visit shbcf.ru