diff options
author | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-01-06 19:25:23 +0000 |
---|---|---|
committer | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-01-06 19:25:23 +0000 |
commit | 579d880e9921a87133d11cb15285c7f39db83260 (patch) | |
tree | 49b8bb42ed2373497ed00ef551a033657254c0dd /roles | |
parent | 504fb5e84489636c16c15b00a99b0e6352304dcc (diff) | |
download | infra-579d880e9921a87133d11cb15285c7f39db83260.tar.gz infra-579d880e9921a87133d11cb15285c7f39db83260.tar.bz2 infra-579d880e9921a87133d11cb15285c7f39db83260.zip |
Make ip.ilvokhin.com a role
Diffstat (limited to 'roles')
-rw-r--r-- | roles/ip/files/ip.ilvokhin.com (renamed from roles/web/files/sites/ip.ilvokhin.com) | 0 | ||||
-rw-r--r-- | roles/ip/tasks/main.yml (renamed from roles/web/tasks/sites/ip.yml) | 5 | ||||
-rw-r--r-- | roles/web/tasks/main.yml | 3 |
3 files changed, 4 insertions, 4 deletions
diff --git a/roles/web/files/sites/ip.ilvokhin.com b/roles/ip/files/ip.ilvokhin.com index 0555c67..0555c67 100644 --- a/roles/web/files/sites/ip.ilvokhin.com +++ b/roles/ip/files/ip.ilvokhin.com diff --git a/roles/web/tasks/sites/ip.yml b/roles/ip/tasks/main.yml index a9d2d32..ad584f4 100644 --- a/roles/web/tasks/sites/ip.yml +++ b/roles/ip/tasks/main.yml @@ -1,6 +1,9 @@ +- ansible.builtin.include_role: + name: nginx + - name: Configure nginx for ip.ilvokhin.com ansible.builtin.copy: - src: roles/web/files/sites/ip.ilvokhin.com + src: files/ip.ilvokhin.com dest: /etc/nginx/sites-available owner: root group: root diff --git a/roles/web/tasks/main.yml b/roles/web/tasks/main.yml deleted file mode 100644 index 831d6d6..0000000 --- a/roles/web/tasks/main.yml +++ /dev/null @@ -1,3 +0,0 @@ -- ansible.builtin.import_tasks: roles/web/tasks/logrotate.yml -- ansible.builtin.import_tasks: roles/web/tasks/nginx.yml -- ansible.builtin.import_tasks: roles/web/tasks/certbot.yml |