init
This commit is contained in:
		
							
								
								
									
										8
									
								
								playbooks/base.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								playbooks/base.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
			
		||||
- hosts: all
 | 
			
		||||
  roles:
 | 
			
		||||
    - hostname
 | 
			
		||||
    - tz
 | 
			
		||||
    - locale
 | 
			
		||||
    - motd
 | 
			
		||||
    - dotfiles
 | 
			
		||||
    - packages
 | 
			
		||||
							
								
								
									
										6
									
								
								playbooks/external.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								playbooks/external.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
- hosts: external
 | 
			
		||||
  roles:
 | 
			
		||||
    - sshd
 | 
			
		||||
    - ufw
 | 
			
		||||
    - role: docker
 | 
			
		||||
      when: server_hostname in ['mainframe']
 | 
			
		||||
							
								
								
									
										5
									
								
								playbooks/internal.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								playbooks/internal.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
- hosts: internal
 | 
			
		||||
  roles:
 | 
			
		||||
    - avahi
 | 
			
		||||
    - role: docker
 | 
			
		||||
      when: server_hostname != 'pnx'
 | 
			
		||||
							
								
								
									
										3
									
								
								playbooks/master.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								playbooks/master.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
- import_playbook: base.yaml
 | 
			
		||||
- import_playbook: internal.yaml
 | 
			
		||||
- import_playbook: external.yaml
 | 
			
		||||
		Reference in New Issue
	
	Block a user