mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-07-03 00:03:05 +02:00
upt playbook
This commit is contained in:
@ -1,7 +1,9 @@
|
||||
- hosts: odroid_cluster
|
||||
name: Run script
|
||||
name: Initial Adjustments
|
||||
become: true
|
||||
gather_facts: true
|
||||
vars:
|
||||
iface: "eth0"
|
||||
tasks:
|
||||
- name: Reconfigure /root/.bashrc
|
||||
ansible.builtin.lineinfile:
|
||||
@ -29,9 +31,12 @@
|
||||
- name: Iptables 1
|
||||
ansible.builtin.command:
|
||||
iptables -F
|
||||
ignore_errors: yes
|
||||
- name: Iptables 2
|
||||
ansible.builtin.command:
|
||||
update-alternatives --set iptables /usr/sbin/iptables-legacy
|
||||
ignore_errors: yes
|
||||
- name: Iptables 3
|
||||
ansible.builtin.command:
|
||||
update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
|
||||
update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
|
||||
ignore_errors: yes
|
Reference in New Issue
Block a user