# # the martinez shit # - name: define nodes set_fact: nodes: "{{ groups[cluster] }}" run_once: true - name: define node_ids set_fact: node_ids: "{{ range(1, nodes | length + 1) | list }}" run_once: true - name: nftables.conf template: src: nftables.martinez.conf dest: /etc/nftables.conf notify: reload nftables