From e640e76b6a86a686e3576ae971935437f2577216 Mon Sep 17 00:00:00 2001 From: Antwan <antoine.blancy@etu.hesge.ch> Date: Tue, 29 Mar 2022 17:15:23 +0200 Subject: [PATCH] restructure --- h1.yml | 4 ++-- h2.yml | 4 ++-- r1.yml | 2 +- roles/{common => post}/tasks/main.yml | 0 4 files changed, 5 insertions(+), 5 deletions(-) rename roles/{common => post}/tasks/main.yml (100%) diff --git a/h1.yml b/h1.yml index 74d835f..90f37b9 100644 --- a/h1.yml +++ b/h1.yml @@ -10,5 +10,5 @@ apt: name: curl roles: - - role: 'roles/hosts' - - role: 'roles/common' \ No newline at end of file + - hosts + - post \ No newline at end of file diff --git a/h2.yml b/h2.yml index 314b4ab..cc5dc71 100644 --- a/h2.yml +++ b/h2.yml @@ -16,8 +16,8 @@ dest: /var/www/html/index.html notify: nginx-restarter roles: - - role: 'roles/hosts' - - role: 'roles/common' + - hosts + - post handlers: - name: nginx-restarter service: diff --git a/r1.yml b/r1.yml index 715b2f6..40aab35 100644 --- a/r1.yml +++ b/r1.yml @@ -25,4 +25,4 @@ reload: yes become: yes roles: - - role: 'roles/common' \ No newline at end of file + - post \ No newline at end of file diff --git a/roles/common/tasks/main.yml b/roles/post/tasks/main.yml similarity index 100% rename from roles/common/tasks/main.yml rename to roles/post/tasks/main.yml -- GitLab