From e7e0d03f17574a77f6fa4729debcb56f17b18be9 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Tue, 2 May 2023 19:16:41 +0200 Subject: [PATCH] Add basics conf --- playbook.yml | 3 +++ roles/docker/tasks/base.yml | 2 ++ roles/docker/tasks/main.yml | 4 ++++ 3 files changed, 9 insertions(+) create mode 100644 roles/docker/tasks/base.yml create mode 100644 roles/docker/tasks/main.yml diff --git a/playbook.yml b/playbook.yml index a883eb2..655217e 100644 --- a/playbook.yml +++ b/playbook.yml @@ -2,3 +2,6 @@ - name: Install servers hosts: servers become: true + + roles: + - { role: docker, tags: ['docker'] } \ No newline at end of file diff --git a/roles/docker/tasks/base.yml b/roles/docker/tasks/base.yml new file mode 100644 index 0000000..cd21505 --- /dev/null +++ b/roles/docker/tasks/base.yml @@ -0,0 +1,2 @@ +--- + diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml new file mode 100644 index 0000000..3f670ac --- /dev/null +++ b/roles/docker/tasks/main.yml @@ -0,0 +1,4 @@ +--- + +- ansible.builtin.import_tasks: base.yml + name: base \ No newline at end of file