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