Skip to content

Instantly share code, notes, and snippets.

@ryanmaclean
Created September 24, 2018 17:33
Show Gist options
  • Select an option

  • Save ryanmaclean/1b0b71ea7ae93667b18c64674c9a54ec to your computer and use it in GitHub Desktop.

Select an option

Save ryanmaclean/1b0b71ea7ae93667b18c64674c9a54ec to your computer and use it in GitHub Desktop.
Target Ansible Unattended Upgrades in Ubuntu 16.X+
# Trying target unattended-upgrades, works every time
# from here: https://github.com/ansible/ansible/issues/25414
- name: Wait for automatic system updates
shell: while pgrep unattended; do sleep 10; done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment