Initial commit, squashed
This commit is contained in:
		
						commit
						158e8740b8
					
				
					 83 changed files with 2718 additions and 0 deletions
				
			
		
							
								
								
									
										25
									
								
								roles/exit/tasks/keepalived.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								roles/exit/tasks/keepalived.yml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,25 @@
 | 
			
		|||
# We should just apt install it but it’s broken with Cumulus 5.4 + Debian 10.
 | 
			
		||||
- name: Install keepalived
 | 
			
		||||
  block:
 | 
			
		||||
  - name: Install deps for keepalived
 | 
			
		||||
    package:
 | 
			
		||||
      name: autoconf,automake,build-essential,pkg-config,libxtables-dev,libip4tc-dev,libip6tc-dev,libipset-dev,libnl-3-dev,libnl-genl-3-dev,libssl-dev
 | 
			
		||||
 | 
			
		||||
  - name: Checkout keepalived source
 | 
			
		||||
    git:
 | 
			
		||||
      repo: https://github.com/acassen/keepalived
 | 
			
		||||
      dest: /usr/local/src/keepalived
 | 
			
		||||
      version: v2.2.7
 | 
			
		||||
 | 
			
		||||
  - name: Build and install keepalived
 | 
			
		||||
    shell: |
 | 
			
		||||
      ./autogen.sh
 | 
			
		||||
      ./configure --sysconfdir=/etc
 | 
			
		||||
      make
 | 
			
		||||
      make install
 | 
			
		||||
    args:
 | 
			
		||||
      chdir: /usr/local/src/keepalived
 | 
			
		||||
      creates: /usr/local/sbin/keepalived
 | 
			
		||||
    notify: reload systemd
 | 
			
		||||
 | 
			
		||||
- meta: flush_handlers
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue