Difference between revisions of "Ansible"
From RiceFamily Wiki
(Created page with "= Tutorials = * [https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-ansible-on-ubuntu-16-04 How to Install and Configure Ansible on Ubuntu 16-04]") |
(→Tutorials) |
||
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | = Overview = | ||
+ | The Linux Group started using Ansible when an Automation Initiative was started at work. They initially used it to automate a Server Build process for new Linux hosts. After a time, it was extended to the Windows Server Build process. | ||
+ | |||
+ | We are now looking at it to allow the Networking team to automate the upgrade processes on some of the network devices that are not supported by DNA-C. | ||
+ | |||
+ | While we are at it, my manager wants me to look at how Ansible can be used to replace BigFix since HCL has been playing games with our Licenses and it looks like we might be moving off BigFix in the near future. | ||
+ | |||
= Tutorials = | = Tutorials = | ||
* [https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-ansible-on-ubuntu-16-04 How to Install and Configure Ansible on Ubuntu 16-04] | * [https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-ansible-on-ubuntu-16-04 How to Install and Configure Ansible on Ubuntu 16-04] | ||
+ | * [https://geekflare.com/ansible-playbook-windows-example/ Anisble Windows Playbooks] | ||
+ | * [https://www.youtube.com/watch?v=bDgyviNGbiQ&list=PL2We04F3Y_42_PN52bT_U5o_lt6uPQqqq Ansible Playbook by KodeKloud] | ||
+ | * [https://www.youtube.com/watch?v=dCQpaTTTv98 Ansible Playbook Tutorial] | ||
+ | * [http://www.jeffgeerling.com/blog/2020/ansible-101-jeff-geerling-youtube-streaming-series Ansible 101 by Jeff Geerling - YouTube streaming series - Jeff Geerling] | ||
+ | |||
+ | == RedHat Provided Tutorials == | ||
+ | * [https://www.youtube.com/watch?v=ZAdJ7CdN7DY Introduction to Playbooks (and demonstration)] | ||
+ | |||
+ | == Presentations == | ||
+ | * [https://www.youtube.com/watch?v=ZI20Y10OKd0 Ansible for the Windows Admin] | ||
+ | |||
+ | = Documentation = | ||
+ | * https:/docs.ansible.com | ||
+ | * [https://devguide.dhe.duke.edu/ DevGuide.Duke.edu] | ||
+ | * [https://devguide.dhe.duke.edu/guides/NooB/ DevGuide - NooB Guide written by James Madill] | ||
+ | * https://en.wikipedia.org/wiki/YAML | ||
+ | * [https://www.youtube.com/watch?v=FEdXUv02Dbg Managing Windows like Linux with Ansible] | ||
+ | |||
+ | = Modules = | ||
+ | == General == | ||
+ | * https://docs.ansible.com/ansible/latest/collections/ansible/windows/win_copy_module.html | ||
+ | |||
+ | == Networking == | ||
+ | * [https://docs.ansible.com/ansible/latest/modules/ios_config_module.html Cisco iOS Config Module] | ||
+ | * [https://www.youtube.com/playlist?list=PLOocymQm7YWbrBP_UWeA4CGmsTKqj-OWL YouTube Playlist - Ansible Learning For Network Engineers : Network Automation tutorial with Cisco Examples] | ||
+ | * [https://www.youtube.com/watch?v=xw4IinFGVzA Ansible Playbooks for Cisco Network Automation!] | ||
+ | * [https://www.youtube.com/watch?v=w8Sf3rXncs0 Ansible Playbook Example to Backup Cisco Router or Switch Config] | ||
+ | * [https://www.ansible.com/integrations/networks/cisco Cisco and Ansible] | ||
+ | * [https://developer.cisco.com/automation-ansible/ Get started with Ansible and Cisco] (DEVELOPER.CISCO.COM) | ||
+ | * [https://github.com/colin-mccarthy/ansible-playbooks-for-cisco-ios Colin McCarthy Ansible Playbooks for Cisco iOS] | ||
+ | |||
+ | = Windows = | ||
+ | * [https://www.ansible.com/blog/connecting-to-a-windows-host Connecting to a Windows host] | ||
+ | * [https://4sysops.com/archives/using-windows-powershell-with-ansible/ Using Windows Powershell with Ansible] | ||
+ | * [https://thomascfoulds.com/2017/12/30/software-versions-ansible-windows.html Managing Software Versions on Windows with Ansible] | ||
+ | |||
+ | == PowerShell == | ||
+ | * [https://www.google.com/search?q=run+powerpoint+script+through+andible&ie=UTF-8&oe=UTF-8&hl=en-us&client=safari GOOGLE - Run PowerShell Script through Ansible] | ||
+ | * [https://www.clouddev.engineering/run-powershell-code-with-ansible-on-a-windows-host/ Run PowerShell code with Ansible on a Windows host] - this solves my current challenge on a 1:1 server basis, now I need to create a Module that can do all this automatically. | ||
+ | |||
+ | == Modules I've looked into == | ||
+ | * [https://docs.ansible.com/ansible/latest/collections/ansible/windows/win_copy_module.html win_copy] | ||
+ | |||
+ | = Tools = | ||
+ | * [http://www.yamllint.com/ YAMLLint - YAML Validator] | ||
+ | |||
+ | [[Category:Work]] | ||
+ | [[Category:Programming]] | ||
+ | [[Category:Scripting]] |
Latest revision as of 13:42, 27 October 2020
Contents
Overview
The Linux Group started using Ansible when an Automation Initiative was started at work. They initially used it to automate a Server Build process for new Linux hosts. After a time, it was extended to the Windows Server Build process.
We are now looking at it to allow the Networking team to automate the upgrade processes on some of the network devices that are not supported by DNA-C.
While we are at it, my manager wants me to look at how Ansible can be used to replace BigFix since HCL has been playing games with our Licenses and it looks like we might be moving off BigFix in the near future.
Tutorials
- How to Install and Configure Ansible on Ubuntu 16-04
- Anisble Windows Playbooks
- Ansible Playbook by KodeKloud
- Ansible Playbook Tutorial
- Ansible 101 by Jeff Geerling - YouTube streaming series - Jeff Geerling
RedHat Provided Tutorials
Presentations
Documentation
- https:/docs.ansible.com
- DevGuide.Duke.edu
- DevGuide - NooB Guide written by James Madill
- https://en.wikipedia.org/wiki/YAML
- Managing Windows like Linux with Ansible
Modules
General
Networking
- Cisco iOS Config Module
- YouTube Playlist - Ansible Learning For Network Engineers : Network Automation tutorial with Cisco Examples
- Ansible Playbooks for Cisco Network Automation!
- Ansible Playbook Example to Backup Cisco Router or Switch Config
- Cisco and Ansible
- Get started with Ansible and Cisco (DEVELOPER.CISCO.COM)
- Colin McCarthy Ansible Playbooks for Cisco iOS
Windows
- Connecting to a Windows host
- Using Windows Powershell with Ansible
- Managing Software Versions on Windows with Ansible
PowerShell
- GOOGLE - Run PowerShell Script through Ansible
- Run PowerShell code with Ansible on a Windows host - this solves my current challenge on a 1:1 server basis, now I need to create a Module that can do all this automatically.