]> git.phdru.name Git - ansible.git/blobdiff - playbooks/debian-init-user-phd.yml
Feat(debian-init-user-phd): Use dynamic list of hosts
[ansible.git] / playbooks / debian-init-user-phd.yml
index f9fc295301d7e4c309ef9d1ceeb2b14bb5ad424d..32201c82deed7d5c3cc2579a3a897d3662da72c4 100644 (file)
@@ -1,5 +1,5 @@
 - name: Create user phd
-  hosts: all
+  hosts: "{{ hosts | default('servers') }}"
   gather_facts: false
   tasks:
     - name: Add user phd