move task file for adding peers on the server to server role

This commit is contained in:
max.mehl 2022-03-03 11:04:31 +01:00
parent 19e1716121
commit 1820e35943
No known key found for this signature in database
GPG Key ID: 2704E4AB371E2E92
3 changed files with 4 additions and 4 deletions

View File

@ -63,7 +63,9 @@
- name: Add machine as innernet peer
tags: [peers]
include_tasks: add_peer_server.yml
include_role:
name: server
tasks_from: add_peer
args:
apply:
tags: [peers]

View File

@ -84,9 +84,7 @@
- name: Add manually defined peers
tags: [peers]
include_role:
name: client
tasks_from: add_peer_server
include_tasks: add_peer.yml
args:
apply:
tags: [peers]