Skip to content
Snippets Groups Projects
Commit a6893d83 authored by poulpe's avatar poulpe
Browse files

[Update] Fix install program

parent 324a56d3
Branches
No related tags found
No related merge requests found
......@@ -70,20 +70,18 @@
update_cache: yes
# check_mode: yes
- name: Install nginx and Wireguard
- name: Install nginx
ansible.builtin.apt:
pkg:
- nginx
- wireguard
- wireguard-tools
- iptables
- curl
state: present
# check_mode: yes
- name: Remove internet to host
ansible.builtin.shell:
cmd: "ip r del default"
# check_mode: yes
- name: Setup index.html on H2
hosts: H2
......@@ -156,6 +154,4 @@
- name: Print result
debug:
msg: "{{ result.stdout_lines }}"
...
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment