File tree Expand file tree Collapse file tree 4 files changed +14
-1
lines changed Expand file tree Collapse file tree 4 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,20 @@ Cumulus Linux 3.x
1111## Role Variables  
1212
1313*  ` netq_backend_server ` : IP of the netq server
14+ *  ` netq_repo_version ` : Version of the netq repo, e.g. "netq-1.4"
1415
1516## Dependencies  
1617
1718None
1819
20+ ## Notes  
21+ 
22+ This role will not handle the removal or existing repo entries in the event
23+ you are changing the repo version. This is left to the user. You could
24+ simply change "state: present" to "state: absent" for you previous
25+ version before updating to the new version.  
26+ 
27+ 
1928## Example Playbook  
2029
2130``` yaml 
Original file line number Diff line number Diff line change 1+ #  defaul to "latest" unless overridden
2+ netq_repo_version : netq-latest 
Original file line number Diff line number Diff line change 77
88- name : Add netq repo 
99  apt_repository :
10-     repo : deb http://apps3.cumulusnetworks.com/repos/deb CumulusLinux-3 netq-latest  
10+     repo : deb http://apps3.cumulusnetworks.com/repos/deb CumulusLinux-3 {{ netq_repo }}  
1111    state : present 
1212
1313#  The netq package installs addtional config to rsyslog
Original file line number Diff line number Diff line change @@ -4,3 +4,5 @@ netq_backend_config:
44    port : 6379 
55    role : master 
66    server : " {{ netq_backend_server|mandatory }}" 
7+ 
8+ netq_repo : " {{ netq_repo_version }}" 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments