X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fdebian-update-all-apt.yml;h=23a3d5dafec4e1942c10d6d70cfb01a1317b7c14;hb=4a7a82c49e38ba558bb6dc941e9dec61ddeca7dc;hp=a804438405d8e715fcdace7845cc27c46da5af41;hpb=073b6e2b787792bb333d10a4e3efbab34ae25992;p=ansible.git diff --git a/playbooks/debian-update-all-apt.yml b/playbooks/debian-update-all-apt.yml index a804438..23a3d5d 100644 --- a/playbooks/debian-update-all-apt.yml +++ b/playbooks/debian-update-all-apt.yml @@ -1,5 +1,5 @@ -- hosts: all - name: Update Debian systems with apt +- name: Update Debian systems with apt + hosts: "{{ hosts | default('all') }}" become: yes gather_facts: false tasks: