infrastructure roles
This commit is contained in:
		
							parent
							
								
									f191b0c178
								
							
						
					
					
						commit
						ec7c5678c3
					
				
					 1 changed files with 13 additions and 0 deletions
				
			
		
							
								
								
									
										13
									
								
								roles/lmn_network/tasks/main.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								roles/lmn_network/tasks/main.yml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,13 @@
 | 
				
			||||||
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- name: set aptcache
 | 
				
			||||||
 | 
					  ansible.builtin.copy:
 | 
				
			||||||
 | 
					    dest: /etc/apt/apt.conf
 | 
				
			||||||
 | 
					    content: >
 | 
				
			||||||
 | 
					      Acquire::http::Proxy "http://aptcache.pn.steinbeis.schule:3142/";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- name: set ntp Server
 | 
				
			||||||
 | 
					  ansible.builtin.lineinfile:
 | 
				
			||||||
 | 
					    path: /etc/systemd/timesyncd.conf
 | 
				
			||||||
 | 
					    insertafter: '^#NTP='
 | 
				
			||||||
 | 
					    line: NTP=server.pn.steinbeis.schule
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue