From da30069ae0352f23ea1c8e3b16f5442aab8b05f3 Mon Sep 17 00:00:00 2001 From: Anton Vakhrushev Date: Sun, 30 Jul 2017 15:21:51 +0300 Subject: [PATCH] Transfer to timeweb vds --- ansible/configuration.yml | 16 ---------------- ansible/hosts_prod | 2 +- ansible/roles/server/tasks/main.yml | 2 -- 3 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 ansible/configuration.yml diff --git a/ansible/configuration.yml b/ansible/configuration.yml deleted file mode 100644 index 1fc614c..0000000 --- a/ansible/configuration.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -- hosts: all - become: true - - vars: - timezone: UTC - nginx_conf_name: 'anwinged.ru.conf' - nginx_conf_root: '{{ application_root }}/current' - nginx_conf_domain: 'anwinged.ru' - - nginx_remove_default_vhost: true - - roles: - - yatesr.timezone - - geerlingguy.nginx - - nginx diff --git a/ansible/hosts_prod b/ansible/hosts_prod index c572348..8ffa174 100644 --- a/ansible/hosts_prod +++ b/ansible/hosts_prod @@ -1 +1 @@ -anwinged.ru application_root=/var/www/anwinged +188.225.32.183 application_root=/var/www/anwinged diff --git a/ansible/roles/server/tasks/main.yml b/ansible/roles/server/tasks/main.yml index aec75ae..0948fa8 100755 --- a/ansible/roles/server/tasks/main.yml +++ b/ansible/roles/server/tasks/main.yml @@ -1,10 +1,8 @@ --- - name: Update apt cache - sudo: yes apt: update_cache=yes - name: Install system packages - sudo: yes apt: pkg={{ item }} state=latest with_items: - curl