From 0663aa96ce80553c4552ae9aa5bc7fbed15ad119 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Thu, 12 Dec 2024 16:04:19 +0100 Subject: [PATCH] =?UTF-8?q?chore:=20rename=20=E2=80=B9os=E2=80=BA=20group?= =?UTF-8?q?=20of=20roles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matej Focko --- playbooks/bootstrap.yml | 4 ++-- roles/{os/el => os_el}/files/google-chrome.repo | 0 roles/{os/el => os_el}/tasks/main.yml | 0 roles/{os/fedora => os_fedora}/files/google-chrome.repo | 0 roles/{os/fedora => os_fedora}/tasks/main.yml | 0 roles/{os/fedora => os_fedora}/tasks/repositories.yml | 0 6 files changed, 2 insertions(+), 2 deletions(-) rename roles/{os/el => os_el}/files/google-chrome.repo (100%) rename roles/{os/el => os_el}/tasks/main.yml (100%) rename roles/{os/fedora => os_fedora}/files/google-chrome.repo (100%) rename roles/{os/fedora => os_fedora}/tasks/main.yml (100%) rename roles/{os/fedora => os_fedora}/tasks/repositories.yml (100%) diff --git a/playbooks/bootstrap.yml b/playbooks/bootstrap.yml index 95a01f6..daa9922 100644 --- a/playbooks/bootstrap.yml +++ b/playbooks/bootstrap.yml @@ -4,11 +4,11 @@ gather_facts: true roles: # Handle distribution-specific changes before the generic ones - - role: os/fedora + - role: os_fedora become: true when: ansible_distribution == "Fedora" - - role: os/el + - role: os_el become: true when: ansible_distribution in [ "AlmaLinux", "CentOS" ] diff --git a/roles/os/el/files/google-chrome.repo b/roles/os_el/files/google-chrome.repo similarity index 100% rename from roles/os/el/files/google-chrome.repo rename to roles/os_el/files/google-chrome.repo diff --git a/roles/os/el/tasks/main.yml b/roles/os_el/tasks/main.yml similarity index 100% rename from roles/os/el/tasks/main.yml rename to roles/os_el/tasks/main.yml diff --git a/roles/os/fedora/files/google-chrome.repo b/roles/os_fedora/files/google-chrome.repo similarity index 100% rename from roles/os/fedora/files/google-chrome.repo rename to roles/os_fedora/files/google-chrome.repo diff --git a/roles/os/fedora/tasks/main.yml b/roles/os_fedora/tasks/main.yml similarity index 100% rename from roles/os/fedora/tasks/main.yml rename to roles/os_fedora/tasks/main.yml diff --git a/roles/os/fedora/tasks/repositories.yml b/roles/os_fedora/tasks/repositories.yml similarity index 100% rename from roles/os/fedora/tasks/repositories.yml rename to roles/os_fedora/tasks/repositories.yml