mirror of
				https://gitlab.sectorq.eu/jaydee/ansible.git
				synced 2025-10-31 02:11:10 +01:00 
			
		
		
		
	111
This commit is contained in:
		| @@ -31,7 +31,7 @@ | |||||||
|           {%- elif ansible_eth0.macaddress == "00:1e:06:48:b3:0c" -%} |           {%- elif ansible_eth0.macaddress == "00:1e:06:48:b3:0c" -%} | ||||||
|           odroidc4-5 |           odroidc4-5 | ||||||
|           {%- endif -%} |           {%- endif -%} | ||||||
|       when: "{{ ansible_default_ipv4.interface }}" == "eth0" |       when: ansible_default_ipv4.interface == "eth0" | ||||||
|     - name: Set a hostname |     - name: Set a hostname | ||||||
|       ansible.builtin.hostname: |       ansible.builtin.hostname: | ||||||
|         name: >- |         name: >- | ||||||
| @@ -46,7 +46,7 @@ | |||||||
|           {%- elif ansible_end0.macaddress == "00:1e:06:48:b3:0c" -%} |           {%- elif ansible_end0.macaddress == "00:1e:06:48:b3:0c" -%} | ||||||
|           odroidc4-5 |           odroidc4-5 | ||||||
|           {%- endif -%} |           {%- endif -%} | ||||||
|       when: "{{ ansible_default_ipv4.interface }}" == "end0" |       when: ansible_default_ipv4.interface == "end0" | ||||||
|     - name: Iptables 1 |     - name: Iptables 1 | ||||||
|       ansible.builtin.command: |       ansible.builtin.command: | ||||||
|         iptables -F |         iptables -F | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 jaydee
					jaydee