Комментарии:
What will you automate with Ansible? Updates? Reboots? Software installs? Something else?
ОтветитьGreat stuff, ques for you - I currently have a bunch of server with diff user names/ password, I currently prefer to use the PW Auth and not SSH at this time. How can I set this up to work with servers that have diff acct login info? TY
ОтветитьVery well explained. Thank you!
ОтветитьHi Tim, great video. I am wondering if it is possible to automate proxmox servers upgrades, not just VMs. Can't find a proper playbook for that. Thanks
ОтветитьThe python versioning and requiring an environment activation now makes this a whole separate layer of learning a new prerequisite before even starting the original task.
Ответитьhaha man i went to learn ansible and it just lead me down the virtual machine rabbithole in the first five minutes and i havent even gotten around to actually doing anything with ansible
Ответитьgreat video man
ОтветитьGreat video. You're a great teacher.
ОтветитьGood guide.
ОтветитьGreat video, thank you very much, note to self (nts) watched all of it ,
ОтветитьI'm trying to learn Ansible since it's part of the Network Automation learning path for Cisco. Their documentation was a bit complex to understand and I would just get bored trying to understand it and eventually the knowledge would slip out of my head. With the way you discussed it, I'm starting to grasp it better now and am actually interested seeing as now I have a better understanding. Thanks.
ОтветитьThanks! Reminded me about VS Code!
ОтветитьVery good introduction!
ОтветитьI use Ansible in conjunction with Terraform to create a fictitious customer network of VMs. We use the range for Red Teaming and Cyber exercise practice. The last administrator retired, so now I have inherited this project and still have a lot to learn but it is fascinating and fun! I wish I had watched your video before I started looking at the ansible code but I feel it helped me understand your content better. Thanks for the video!
ОтветитьI know this is an older video, but it would be real neat to see how you setup servers for key login; for a thing like Ansible it seems like you'd need a TON of keys or sharing the same key across servers. Maybe a dedicated Ansible user on your systems?
ОтветитьJust amazingly simple and instructive
ОтветитьLove ansible. Makes a ton of sense to me. Some things don't make sense to me, like react. I even made a copy-ssh-key.yml playbook. Just run it whenever you add a new server and keys are good to go.
ОтветитьI have a question. How VScode file is recognized by Linuc machine? Is it because you are using WSL so you can see the files on the desktop?
ОтветитьI have watched to many of your videos not to sub now lol
ОтветитьHow the HELL i didn't heard about this an year ago?!?!?!
ОтветитьWhy would I do that Ansible thing instead of cloning a repo with a shell script plus some dot config files?
ОтветитьActually, the changes you always see is due to stop/start the service: the template file is not copied over if the destination file is exactly the same (that's implied by the Ansible module that performs that check for you). In fact, in your run, when performing the copy task, only a server results as changed because of the file copy (the other ones are not changed, because you had already copied the same file).
ОтветитьThis is a great tutorial. Thanks for the same.
ОтветитьAll is good... but why you want to wear your hat backward? 🙂
ОтветитьWhich font is the one around minute 1? Thanks in advance
ОтветитьThe cost structure for ansible is crazy.
ОтветитьNot much experience with Ansible but starting to LOVE it...great video Tim
ОтветитьI swear everytime he says the commands will be in the description....they never are?
Ответитьhonestly, i don't like your hat style!!
ОтветитьAssuming all your passwords are the same 🤔
ОтветитьNice explanation ... Thank you for the video ✌️
Ответитьoutstanding job as always Tim! Your videos truly help with so many scenarios.
ОтветитьCan I book you for a training session on ansible via zoom? I’ll compensate you for your time. Thanks!
ОтветитьCan you use this to schedule your apt updates and upgrades?
ОтветитьGreat! Thanks a lot. Now i can start this adventure ;))
ОтветитьGreat Video! Thanks!
Ответить❤❤❤
ОтветитьLiked and Subbed....tell me more about server automation please.
Ответитьgreat content. thank you very much. very helpful. by the way, here is a playbook for ssh keybased authentication :)
- name: Add ssh key for root@adm
hosts: "*"
become: yes
tasks:
- name: lets create ssh directory
shell: ssh-keygen -y -f /root/.ssh/id_rsa -N ""
- name: add authorized key for root
authorized_key:
user: root
state: present
key: "{{ lookup('file', '/root/.ssh/id_rsa.pub') }}"
How can i do all of this on a windows machine. How can i access my yaml file and run my playbooks in vscode on a windows 10?
ОтветитьTRY Ansible Semaphore
ОтветитьGreat Stuff! I do wonder if you would explain how to customize Ubuntu Server Network interface like updating from DHCP to STATIC IP? Thank you!
ОтветитьHi Tim, I have a nice example for a playbook that only restarts if the uploaded config file has changed.
name: Restart service when config file is copied
become: true
become_user: root
notify:
- "restart service"
handlers:
- name: "restart service"
service:
- name: "{{ service_name }}"
state: restarted
tasks:
- name: Check if config file has changed
stat:
- path: "{{ config_file }}"
register: config_stat
- name: Restart service if config file has changed
service:
- name: "{{ service_name }}"
state: restarted
when: config_stat.stat.mtime != ansible_date_time.iso8601
Awesome video Tim, Thank you sir. I hope you and your family had a great Christmas.
ОтветитьHi Tim, thanks for the content. please I need help with configuring a mail server and testing if it works. I have successfully provisioned the server using Terraform and I can configure it manually but I'm struggling to do it with Ansible for a large scale deployment. please any tips or pointers would be greatly appreciated. thanks
Ответитьwhere can I find that app you´re using?
ОтветитьI don't understand what ansible does that an ordinary shell script doesn't do.
Ответить🔥
Ответить