Merge pull request #8 from m4rcu5nl/feature/skip_tasks_in_check_mode

Resolved errors in check-mode
This commit is contained in:
Marcus
2017-12-17 05:52:44 +01:00
committed by GitHub
3 changed files with 3 additions and 0 deletions

View File

@@ -36,6 +36,7 @@
when:
- zerotier_repo|succeeded
- not ansible_check_mode
tags:
- installation
- packages

View File

@@ -29,5 +29,6 @@
when:
- zerotier_accesstoken is defined
- not ansible_check_mode
tags:
- configuration

View File

@@ -5,6 +5,7 @@
- name: Check for successfully joined networks
shell: zerotier-cli listnetworks | grep 'OK'| awk '{print $3}'
register: joinednetworks
check_mode: yes
- include_tasks: join_network.yml
when: