Changeset - 794272b6e82a
[Not reviewed]
0 4 0
x - 20 months ago 2023-08-24 01:11:47
xbr@c3l.lu
feat: use groups for the playbooks
4 files changed with 7 insertions and 4 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: test
 
  hosts: gateway
 
  remote_user: root
 
  become: true
 
  become_method: ansible.builtin.sudo
gateway/initial_gw_setup.yml
Show inline comments
 
---
 
- name: Initial Gateway Setup
 
  hosts: test
 
  hosts: initial
 
  become: true
 
  become_method: ansible.builtin.sudo
 

	
hosts
Show inline comments
 
@@ -24,7 +24,7 @@ server_scripts_dir=~/repos/Infrastructure-Intern/scripts
 

	
 
# new machine come here
 
[initial]
 
#fflux-test
 
fflux-test
 

	
 
# machines which run api.freifunk.lu
 
[API]
 
@@ -44,6 +44,9 @@ server_scripts_dir=~/repos/Infrastructure-Intern/scripts
 
# machine which are gateways for freifunk.lu
 
[fflux]
 

	
 
[gateway]
 
fflux-test
 

	
 
[gw1]
 

	
 
[gw2]
initial_server_setup/initial_setup.yml
Show inline comments
 
---
 
- name: Initial Server Setup
 
  hosts: test
 
  hosts: initial
 
  become: true
 

	
 
  vars_files:
0 comments (0 inline, 0 general)