From 81cb6ffe92c2a7609f7428cd214cb6f5344a0f8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= <rpiliszek@7bulls.com> Date: Mon, 25 Jul 2022 10:52:47 +0200 Subject: [PATCH] Fix the ansible part --- ansible/main.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ansible/main.yml b/ansible/main.yml index b932d38..cfd7c91 100644 --- a/ansible/main.yml +++ b/ansible/main.yml @@ -2,9 +2,6 @@ - hosts: all gather_facts: no become: yes - vars: - ansible_ssh_private_key_file: "{{instance_server_public_key}}" - ansible_ssh_user: "ubuntu" tasks: - name: Update repositories apt: @@ -27,7 +24,7 @@ - name: Install sample site copy: - dest: "" + dest: "{{ item }}" content: | <!doctype html> <html lang="en"> @@ -41,4 +38,4 @@ </html> with_items: - /var/www/html/index.html - - /usr/share/nginx/html/index.html \ No newline at end of file + - /usr/share/nginx/html/index.html -- GitLab