Skip to content

Simple Ansible script to fix issues with updating packages on Amazon Linux instances.

Notifications You must be signed in to change notification settings

Insaida/HotFixUpdate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HotFixUpdate

A Quick Ansible script to fix up Update issues on Amazon Linux issus hosted on ec-2 instances.

Usage

Copy your .pem key in same directory

To run the script:

ansible-playbook main.yml -i inventory

Update everything

ansible all -i inventory -a "yum update -y" -s

Update individual packages

ansible all -i inventory -m yum -a "name=git state=latest update_cache=true" -s

Check for packages that need updates

ansible all -i inventory -m yum -a "name='*' state=latest update_cache=true" -s

About

Simple Ansible script to fix issues with updating packages on Amazon Linux instances.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published