Last active
August 29, 2015 14:04
-
-
Save noxqsgit/9629d02a30f76e9d275f to your computer and use it in GitHub Desktop.
update servers w/ ansible
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LC_ALL=C ansible -i hosts -m shell -a 'aptitude update' all --sudo --ask-sudo-pass | |
LC_ALL=C ansible -i hosts -m shell -a 'aptitude safe-upgrade -y -s' all | |
LC_ALL=C ansible -i hosts -m shell -a 'DEBIAN_FRONTEND=noninteractive aptitude safe-upgrade -y' all --sudo --ask-sudo-pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment