Changeset - 601447c7b16d
[Not reviewed]
0 1 0
x - 2 days ago 2025-08-24 00:13:32
xbr@c3l.lu
fix: do not ssh as root in gw config
1 file changed with 0 insertions and 1 deletions:
0 comments (0 inline, 0 general)
gateway/all_gw_config.yml
Show inline comments
 
---
 
# Defining the remote server where the package will be deployed
 
- name: "Deploy new gateway config"
 
  hosts: gateway
 
  remote_user: root
 
  become: true
 
  become_method: ansible.builtin.sudo
 
  tasks:
 

	
 
    # Network interfaces
 
    - name: Setup network interfaces (bridge + bat0)
 
      ansible.builtin.copy:
 
        src: "{{ server_config_dir }}/interface/freifunk.j2"
 
        dest: /etc/network/interfaces.d/freifunk
 
        owner: root
 
        group: root
 
        mode: '0644'
0 comments (0 inline, 0 general)