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