From ad259694807eed1d04e435ab2c75f407d368df30 Mon Sep 17 00:00:00 2001 From: nono Date: Wed, 16 Oct 2024 19:22:03 +0000 Subject: [PATCH] Ajouter tasks/main.yml --- tasks/main.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tasks/main.yml diff --git a/tasks/main.yml b/tasks/main.yml new file mode 100644 index 0000000..1d53108 --- /dev/null +++ b/tasks/main.yml @@ -0,0 +1,13 @@ + + +- include_tasks: setup-RedHat.yml + when: ansible_os_family == 'RedHat' + +- include_tasks: setup-Debian.yml + when: ansible_os_family == 'Debian' + +- name: restart docker + service: + name: docker + state: restarted + enabled: yes \ No newline at end of file