--- - name: Pre-playbook checks hosts: localhost tasks: - name: 'Verify Ansible version is 2.8 or newer' assert: that: 'ansible_version.full is version_compare("2.8", ">=")' msg: 'Your Ansible version is lower than 2.8. Upgrade it.' - name: Configure network toledo using develop hosts: nimbus-toledo-devel roles: - { role: distribute-validators, tags: [ distribute-validators ] } - { role: infra-role-beacon-node, tags: [ infra-role-beacon-node, beacon-node ] }