diff --git a/apt-update.yml b/apt-update.yml index bf21960..30396ba 100644 --- a/apt-update.yml +++ b/apt-update.yml @@ -1,9 +1,8 @@ - hosts: all - sudo: yes vars: ansible_host_key_checking: false ##If you get an error about hosts not trusted - become: true become_user: root + become: true tasks: - name: Update apt repo and cache on all Debian/Ubuntu boxes apt: update_cache=yes force_apt_get=yes cache_valid_time=3600