From a57721d09fdb63a89467fccf5b2c516cd8cdd05a Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Mon, 16 Dec 2024 13:36:40 +0100 Subject: [PATCH] fix(roles): move roles out to the top-level Signed-off-by: Matej Focko --- ansible.cfg | 2 ++ {playbooks/roles => roles}/deploy/defaults/main.yml | 0 {playbooks/roles => roles}/deploy/handlers/main.yml | 0 {playbooks/roles => roles}/deploy/tasks/main.yml | 0 .../roles => roles}/generate_secrets/files/centpkg-sig.conf.j2 | 0 {playbooks/roles => roles}/generate_secrets/files/copr | 0 .../roles => roles}/generate_secrets/files/extra-vars.yml | 0 .../roles => roles}/generate_secrets/files/fedora.toml.j2 | 0 .../generate_secrets/files/packit-service.yaml.j2 | 0 {playbooks/roles => roles}/generate_secrets/files/ssh_config | 0 .../generate_secrets/tasks/create-directories.yml | 0 .../roles => roles}/generate_secrets/tasks/generate-cert.yml | 0 .../roles => roles}/generate_secrets/tasks/generate-configs.yml | 0 .../roles => roles}/generate_secrets/tasks/generate-ssh.yml | 0 {playbooks/roles => roles}/generate_secrets/tasks/main.yml | 0 .../roles => roles}/generate_secrets/tasks/project-dir.yml | 0 .../roles => roles}/generate_secrets/tasks/touch-files.yml | 0 {playbooks/roles => roles}/generate_secrets/vars/main.yml | 0 18 files changed, 2 insertions(+) create mode 100644 ansible.cfg rename {playbooks/roles => roles}/deploy/defaults/main.yml (100%) rename {playbooks/roles => roles}/deploy/handlers/main.yml (100%) rename {playbooks/roles => roles}/deploy/tasks/main.yml (100%) rename {playbooks/roles => roles}/generate_secrets/files/centpkg-sig.conf.j2 (100%) rename {playbooks/roles => roles}/generate_secrets/files/copr (100%) rename {playbooks/roles => roles}/generate_secrets/files/extra-vars.yml (100%) rename {playbooks/roles => roles}/generate_secrets/files/fedora.toml.j2 (100%) rename {playbooks/roles => roles}/generate_secrets/files/packit-service.yaml.j2 (100%) rename {playbooks/roles => roles}/generate_secrets/files/ssh_config (100%) rename {playbooks/roles => roles}/generate_secrets/tasks/create-directories.yml (100%) rename {playbooks/roles => roles}/generate_secrets/tasks/generate-cert.yml (100%) rename {playbooks/roles => roles}/generate_secrets/tasks/generate-configs.yml (100%) rename {playbooks/roles => roles}/generate_secrets/tasks/generate-ssh.yml (100%) rename {playbooks/roles => roles}/generate_secrets/tasks/main.yml (100%) rename {playbooks/roles => roles}/generate_secrets/tasks/project-dir.yml (100%) rename {playbooks/roles => roles}/generate_secrets/tasks/touch-files.yml (100%) rename {playbooks/roles => roles}/generate_secrets/vars/main.yml (100%) diff --git a/ansible.cfg b/ansible.cfg new file mode 100644 index 0000000..b2c1890 --- /dev/null +++ b/ansible.cfg @@ -0,0 +1,2 @@ +[defaults] +roles_path = roles/ \ No newline at end of file diff --git a/playbooks/roles/deploy/defaults/main.yml b/roles/deploy/defaults/main.yml similarity index 100% rename from playbooks/roles/deploy/defaults/main.yml rename to roles/deploy/defaults/main.yml diff --git a/playbooks/roles/deploy/handlers/main.yml b/roles/deploy/handlers/main.yml similarity index 100% rename from playbooks/roles/deploy/handlers/main.yml rename to roles/deploy/handlers/main.yml diff --git a/playbooks/roles/deploy/tasks/main.yml b/roles/deploy/tasks/main.yml similarity index 100% rename from playbooks/roles/deploy/tasks/main.yml rename to roles/deploy/tasks/main.yml diff --git a/playbooks/roles/generate_secrets/files/centpkg-sig.conf.j2 b/roles/generate_secrets/files/centpkg-sig.conf.j2 similarity index 100% rename from playbooks/roles/generate_secrets/files/centpkg-sig.conf.j2 rename to roles/generate_secrets/files/centpkg-sig.conf.j2 diff --git a/playbooks/roles/generate_secrets/files/copr b/roles/generate_secrets/files/copr similarity index 100% rename from playbooks/roles/generate_secrets/files/copr rename to roles/generate_secrets/files/copr diff --git a/playbooks/roles/generate_secrets/files/extra-vars.yml b/roles/generate_secrets/files/extra-vars.yml similarity index 100% rename from playbooks/roles/generate_secrets/files/extra-vars.yml rename to roles/generate_secrets/files/extra-vars.yml diff --git a/playbooks/roles/generate_secrets/files/fedora.toml.j2 b/roles/generate_secrets/files/fedora.toml.j2 similarity index 100% rename from playbooks/roles/generate_secrets/files/fedora.toml.j2 rename to roles/generate_secrets/files/fedora.toml.j2 diff --git a/playbooks/roles/generate_secrets/files/packit-service.yaml.j2 b/roles/generate_secrets/files/packit-service.yaml.j2 similarity index 100% rename from playbooks/roles/generate_secrets/files/packit-service.yaml.j2 rename to roles/generate_secrets/files/packit-service.yaml.j2 diff --git a/playbooks/roles/generate_secrets/files/ssh_config b/roles/generate_secrets/files/ssh_config similarity index 100% rename from playbooks/roles/generate_secrets/files/ssh_config rename to roles/generate_secrets/files/ssh_config diff --git a/playbooks/roles/generate_secrets/tasks/create-directories.yml b/roles/generate_secrets/tasks/create-directories.yml similarity index 100% rename from playbooks/roles/generate_secrets/tasks/create-directories.yml rename to roles/generate_secrets/tasks/create-directories.yml diff --git a/playbooks/roles/generate_secrets/tasks/generate-cert.yml b/roles/generate_secrets/tasks/generate-cert.yml similarity index 100% rename from playbooks/roles/generate_secrets/tasks/generate-cert.yml rename to roles/generate_secrets/tasks/generate-cert.yml diff --git a/playbooks/roles/generate_secrets/tasks/generate-configs.yml b/roles/generate_secrets/tasks/generate-configs.yml similarity index 100% rename from playbooks/roles/generate_secrets/tasks/generate-configs.yml rename to roles/generate_secrets/tasks/generate-configs.yml diff --git a/playbooks/roles/generate_secrets/tasks/generate-ssh.yml b/roles/generate_secrets/tasks/generate-ssh.yml similarity index 100% rename from playbooks/roles/generate_secrets/tasks/generate-ssh.yml rename to roles/generate_secrets/tasks/generate-ssh.yml diff --git a/playbooks/roles/generate_secrets/tasks/main.yml b/roles/generate_secrets/tasks/main.yml similarity index 100% rename from playbooks/roles/generate_secrets/tasks/main.yml rename to roles/generate_secrets/tasks/main.yml diff --git a/playbooks/roles/generate_secrets/tasks/project-dir.yml b/roles/generate_secrets/tasks/project-dir.yml similarity index 100% rename from playbooks/roles/generate_secrets/tasks/project-dir.yml rename to roles/generate_secrets/tasks/project-dir.yml diff --git a/playbooks/roles/generate_secrets/tasks/touch-files.yml b/roles/generate_secrets/tasks/touch-files.yml similarity index 100% rename from playbooks/roles/generate_secrets/tasks/touch-files.yml rename to roles/generate_secrets/tasks/touch-files.yml diff --git a/playbooks/roles/generate_secrets/vars/main.yml b/roles/generate_secrets/vars/main.yml similarity index 100% rename from playbooks/roles/generate_secrets/vars/main.yml rename to roles/generate_secrets/vars/main.yml