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

[Update] Fix install program

parent 324a56d3
No related branches found
No related tags found
No related merge requests found
...@@ -70,20 +70,18 @@ ...@@ -70,20 +70,18 @@
update_cache: yes update_cache: yes
# check_mode: yes # check_mode: yes
- name: Install nginx and Wireguard - name: Install nginx
ansible.builtin.apt: ansible.builtin.apt:
pkg: pkg:
- nginx - nginx
- wireguard - wireguard
- wireguard-tools - wireguard-tools
- iptables
- curl - curl
state: present state: present
# check_mode: yes
- name: Remove internet to host - name: Remove internet to host
ansible.builtin.shell: ansible.builtin.shell:
cmd: "ip r del default" cmd: "ip r del default"
# check_mode: yes
- name: Setup index.html on H2 - name: Setup index.html on H2
hosts: H2 hosts: H2
...@@ -156,6 +154,4 @@ ...@@ -156,6 +154,4 @@
- name: Print result - name: Print result
debug: debug:
msg: "{{ result.stdout_lines }}" 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