From 4a7a82c49e38ba558bb6dc941e9dec61ddeca7dc Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 29 Jun 2019 01:21:29 +0300 Subject: [PATCH] Feat(debian-update-all-apt): Use dynamic list of hosts Pass the list of hosts from the command line: `ansible-playbook -e hosts=localhost -v debian-update-all-apt.yml` Default is `all`. --- playbooks/debian-update-all-apt.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/debian-update-all-apt.yml b/playbooks/debian-update-all-apt.yml index 223eaa2..23a3d5d 100644 --- a/playbooks/debian-update-all-apt.yml +++ b/playbooks/debian-update-all-apt.yml @@ -1,5 +1,5 @@ - name: Update Debian systems with apt - hosts: all + hosts: "{{ hosts | default('all') }}" become: yes gather_facts: false tasks: -- 2.39.5