apt: "name={{ common_node_packages }} state=present"
- name: Install linux headers
- when: inventory_hostname in groups['node_standalone']
+ when: inventory_hostname in groups['node_standalone']|default([])
block:
- name: Install i386 linux headers Debian
when: ansible_architecture == 'i386' and ansible_distribution == 'Debian'