adds new role for just nomad members
This commit is contained in:
		
							parent
							
								
									86ada2f4df
								
							
						
					
					
						commit
						6a6f99b11f
					
				
					 1 changed files with 8 additions and 3 deletions
				
			
		| 
						 | 
					@ -4,6 +4,11 @@
 | 
				
			||||||
  hosts: all
 | 
					  hosts: all
 | 
				
			||||||
  gather_facts: true
 | 
					  gather_facts: true
 | 
				
			||||||
  roles:
 | 
					  roles:
 | 
				
			||||||
    # - { role: apt } # update all packages, equivalent to `apt update && apt upgrade`
 | 
					    #- { role: apt } # update all packages, equivalent to `apt update && apt upgrade`
 | 
				
			||||||
    # - { role: ssh } # add users defined in roles/defaults/main.yml
 | 
					    #- { role: ssh } # add users defined in roles/defaults/main.yml
 | 
				
			||||||
    # - { role: fail2ban } # add and configure fail2ban with jail file located in `templates/fail2ban.jail`
 | 
					    #- { role: fail2ban } # add and configure fail2ban with jail file located in `templates/fail2ban.jail`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- name: Configure Nomad
 | 
				
			||||||
 | 
					  hosts: nomad
 | 
				
			||||||
 | 
					  roles:
 | 
				
			||||||
 | 
					    - { role: configure-nomad } # install nomad, configure the client & server based on `templates/` and vars on nomad group
 | 
				
			||||||
		Loading…
	
		Reference in a new issue