From f6104035d4c31d85b6fd3c2eca4a8ab585da957c Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Fri, 16 Dec 2022 23:27:09 +0100 Subject: [PATCH] Rename setup to config --- plays/services/roles/deploy/lrproxy/files/config | 1 + plays/services/roles/deploy/lrproxy/files/setup | 1 - plays/services/roles/deploy/lrproxy/tasks/main.yml | 2 +- .../nginx-conf.d/cloud.wojciechkozlowski.eu.conf | 0 .../nginx-conf.d/git.wojciechkozlowski.eu.conf | 0 .../nginx-conf.d/notes.wojciechkozlowski.eu.conf | 0 .../{setup => config}/nginx-conf.d/wojciechkozlowski.eu.conf | 0 .../roles/deploy/rproxy/files/{setup => config}/nginx.conf | 0 plays/services/roles/deploy/rproxy/tasks/main.yml | 2 +- 9 files changed, 3 insertions(+), 3 deletions(-) create mode 120000 plays/services/roles/deploy/lrproxy/files/config delete mode 120000 plays/services/roles/deploy/lrproxy/files/setup rename plays/services/roles/deploy/rproxy/files/{setup => config}/nginx-conf.d/cloud.wojciechkozlowski.eu.conf (100%) rename plays/services/roles/deploy/rproxy/files/{setup => config}/nginx-conf.d/git.wojciechkozlowski.eu.conf (100%) rename plays/services/roles/deploy/rproxy/files/{setup => config}/nginx-conf.d/notes.wojciechkozlowski.eu.conf (100%) rename plays/services/roles/deploy/rproxy/files/{setup => config}/nginx-conf.d/wojciechkozlowski.eu.conf (100%) rename plays/services/roles/deploy/rproxy/files/{setup => config}/nginx.conf (100%) diff --git a/plays/services/roles/deploy/lrproxy/files/config b/plays/services/roles/deploy/lrproxy/files/config new file mode 120000 index 0000000..b2bae54 --- /dev/null +++ b/plays/services/roles/deploy/lrproxy/files/config @@ -0,0 +1 @@ +../../rproxy/files/config \ No newline at end of file diff --git a/plays/services/roles/deploy/lrproxy/files/setup b/plays/services/roles/deploy/lrproxy/files/setup deleted file mode 120000 index 259d6d9..0000000 --- a/plays/services/roles/deploy/lrproxy/files/setup +++ /dev/null @@ -1 +0,0 @@ -../../rproxy/files/setup \ No newline at end of file diff --git a/plays/services/roles/deploy/lrproxy/tasks/main.yml b/plays/services/roles/deploy/lrproxy/tasks/main.yml index 932c805..7ec7ce4 100644 --- a/plays/services/roles/deploy/lrproxy/tasks/main.yml +++ b/plays/services/roles/deploy/lrproxy/tasks/main.yml @@ -17,7 +17,7 @@ - name: "configure reverse proxy nginx" ansible.builtin.copy: - src: "setup/{{ item }}" + src: "./config/{{ item }}" dest: "{{ services_service_user_home }}/.config/{{ services_service_user_name }}/{{ item }}" mode: 0644 loop: "{{ services_rproxy_nginx_conf_d_files }}" diff --git a/plays/services/roles/deploy/rproxy/files/setup/nginx-conf.d/cloud.wojciechkozlowski.eu.conf b/plays/services/roles/deploy/rproxy/files/config/nginx-conf.d/cloud.wojciechkozlowski.eu.conf similarity index 100% rename from plays/services/roles/deploy/rproxy/files/setup/nginx-conf.d/cloud.wojciechkozlowski.eu.conf rename to plays/services/roles/deploy/rproxy/files/config/nginx-conf.d/cloud.wojciechkozlowski.eu.conf diff --git a/plays/services/roles/deploy/rproxy/files/setup/nginx-conf.d/git.wojciechkozlowski.eu.conf b/plays/services/roles/deploy/rproxy/files/config/nginx-conf.d/git.wojciechkozlowski.eu.conf similarity index 100% rename from plays/services/roles/deploy/rproxy/files/setup/nginx-conf.d/git.wojciechkozlowski.eu.conf rename to plays/services/roles/deploy/rproxy/files/config/nginx-conf.d/git.wojciechkozlowski.eu.conf diff --git a/plays/services/roles/deploy/rproxy/files/setup/nginx-conf.d/notes.wojciechkozlowski.eu.conf b/plays/services/roles/deploy/rproxy/files/config/nginx-conf.d/notes.wojciechkozlowski.eu.conf similarity index 100% rename from plays/services/roles/deploy/rproxy/files/setup/nginx-conf.d/notes.wojciechkozlowski.eu.conf rename to plays/services/roles/deploy/rproxy/files/config/nginx-conf.d/notes.wojciechkozlowski.eu.conf diff --git a/plays/services/roles/deploy/rproxy/files/setup/nginx-conf.d/wojciechkozlowski.eu.conf b/plays/services/roles/deploy/rproxy/files/config/nginx-conf.d/wojciechkozlowski.eu.conf similarity index 100% rename from plays/services/roles/deploy/rproxy/files/setup/nginx-conf.d/wojciechkozlowski.eu.conf rename to plays/services/roles/deploy/rproxy/files/config/nginx-conf.d/wojciechkozlowski.eu.conf diff --git a/plays/services/roles/deploy/rproxy/files/setup/nginx.conf b/plays/services/roles/deploy/rproxy/files/config/nginx.conf similarity index 100% rename from plays/services/roles/deploy/rproxy/files/setup/nginx.conf rename to plays/services/roles/deploy/rproxy/files/config/nginx.conf diff --git a/plays/services/roles/deploy/rproxy/tasks/main.yml b/plays/services/roles/deploy/rproxy/tasks/main.yml index 16debb2..cc1d625 100644 --- a/plays/services/roles/deploy/rproxy/tasks/main.yml +++ b/plays/services/roles/deploy/rproxy/tasks/main.yml @@ -17,7 +17,7 @@ - name: "configure reverse proxy nginx" ansible.builtin.copy: - src: "setup/{{ item }}" + src: "./config/{{ item }}" dest: "{{ services_service_user_home }}/.config/{{ services_service_user_name }}/{{ item }}" mode: 0644 loop: "{{ services_rproxy_nginx_conf_d_files }}"