diff --git a/config/deploy.yml b/config/deploy.yml index 8359ca5..f25767c 100644 --- a/config/deploy.yml +++ b/config/deploy.yml @@ -1,5 +1,4 @@ --- - hosts: all roles: - - common - knot diff --git a/config/roles/common/tasks/main.yml b/config/roles/common/tasks/main.yml deleted file mode 100644 index 82969de..0000000 --- a/config/roles/common/tasks/main.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- name: Install common packages - apt: - pkg: - - git diff --git a/config/roles/knot/tasks/main.yml b/config/roles/knot/tasks/main.yml index 772fd8b..8d9d93e 100644 --- a/config/roles/knot/tasks/main.yml +++ b/config/roles/knot/tasks/main.yml @@ -13,6 +13,7 @@ group: knot mode: '0644' notify: reload knot + when: "inventory_hostname in groups.primary" - name: template: