Changeset - 00774ddee83a
[Not reviewed]
0 2 0
x - 21 months ago 2023-08-24 02:44:49
xbr@c3l.lu
feat: differenciate between initial and gateway
2 files changed with 4 insertions and 1 deletions:
0 comments (0 inline, 0 general)
gateway/initial_gw_setup.yml
Show inline comments
 
---
 
- name: Initial Gateway Setup
 
  hosts: initial
 
  hosts: initial-gateway
 
  become: true
 
  become_method: ansible.builtin.sudo
 

	
 
  tasks:
 
    # Update packages
 
    - name: Update all packages to their latest version
hosts
Show inline comments
 
@@ -21,12 +21,15 @@ ansible_python_interpreter=/usr/bin/python3
 
ansible_ssh_private_key_file=/home/fflux/.ssh/fflux_fflux
 
server_config_dir=~/repos/Infrastructure-Intern/server_config
 
server_scripts_dir=~/repos/Infrastructure-Intern/scripts
 

	
 
# new machine come here
 
[initial]
 
fflux-test ansible_user=root
 

	
 
[initial-gateway]
 
fflux-test
 

	
 
# machines which run api.freifunk.lu
 
[API]
 

	
 
# machines which run map.freifunk.lu
0 comments (0 inline, 0 general)