ansible/playbooks/tags_zt-personal.yml

16 lines
413 B
YAML
Raw Normal View History

#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
- hosts: tags_zt-personal
roles:
- role: zerotier
tags: [ zerotier ]
#- hosts: all
# tasks:
# - name: disable zerotier when not tagged
# systemd: name={{ item }} state=stopped enabled=no
# with_items:
# - zerotier-one.service
# when: "'tags_zt-personal' not in group_names and item in services"
# tags: [ zerotier ]