Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

The code I used for that one Ansible video I did a while back

License

Notifications You must be signed in to change notification settings

egeexyz/ansible-system-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-system-update

This is the code I wrote for the Ansible video I made in 2018. If you want to run it yourself, you'll need:

  • Ansible 2.0 or greater (install it via python-pip)
  • A server (or five) to run it against. Localhost works too.

Remember that you'll need to create the file /etc/ansible/hosts and add entries for the servers you want to run updates against. Read more about the hosts file here.

Once you have added your hosts, update the hosts: entry in the main.yml with the name of your host, and then run ansible-playbook main.yml. If your host is running Ubuntu, Debian, CentOS, or openSUSE Leap, Ansible will begin updating your system!

Note: If your host is running some other Linux distribution, you will need to add a new task to the main.yml file. Read more about Ansible packaging modules here.

About

The code I used for that one Ansible video I did a while back

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published