Add general configuration playbook
Add meta taskfile for bootstraping remote venv
This commit is contained in:
		
							
								
								
									
										23
									
								
								playbooks/configure.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								playbooks/configure.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
---
 | 
			
		||||
- name: Group hosts by platform
 | 
			
		||||
  hosts: all
 | 
			
		||||
  tags:
 | 
			
		||||
    - always
 | 
			
		||||
  pre_tasks:
 | 
			
		||||
    - include_tasks: tasks/meta/runtime-group-determination.yaml
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
- name: Bootstrap remote ansible environment
 | 
			
		||||
  hosts: linux
 | 
			
		||||
  gather_facts: false
 | 
			
		||||
  tags:
 | 
			
		||||
    - always
 | 
			
		||||
  tasks:
 | 
			
		||||
    - include_tasks: tasks/meta/bootstrap-remote-env.yaml
 | 
			
		||||
 | 
			
		||||
- name: Configure hosts by role
 | 
			
		||||
  hosts: linux
 | 
			
		||||
  gather_facts: false
 | 
			
		||||
  roles:
 | 
			
		||||
    - role: server
 | 
			
		||||
      when: "'server' in skylab_roles | default([])"
 | 
			
		||||
		Reference in New Issue
	
	Block a user