diff --git a/ansible/hosts.ini b/ansible/hosts.ini index 3913de5..8b0e471 100644 --- a/ansible/hosts.ini +++ b/ansible/hosts.ini @@ -2,10 +2,14 @@ kendra.lan.mrugesh.net [deskpi] -rpi-cm4-01.local -rpi-cm4-04.local -rpi-cm4-05.local -rpi-cm4-06.local +[kendra] +kendra.lan.mrugesh.net + +[deskpi] +rpi-cm4-0[1:6].local + +[all:vars] +ansible_user=mrugesh [all:vars] ansible_user=mrugesh diff --git a/ansible/play--01-update.yml b/ansible/play--01-update.yml index 782a78b..34bf261 100644 --- a/ansible/play--01-update.yml +++ b/ansible/play--01-update.yml @@ -1,7 +1,7 @@ --- -- name: Update all software on a host +- name: Update Machines hosts: "{{ variable_host | default('null') }}" - serial: '{{ variable_serial | default(1) }}' + serial: "{{ variable_serial | default(1) }}" gather_facts: false become: true become_user: root