Created some playbooks, a master playbook file, and a vars directory
This commit is contained in:
		
							
								
								
									
										16
									
								
								playbooks/manage_root.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								playbooks/manage_root.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
---
 | 
			
		||||
- hosts: servers4 # @NOTE for IPv6, switch to 'servers6' instead of 'servers4'--for both, 'servers'
 | 
			
		||||
  remote_user: root # MUST be run as root
 | 
			
		||||
  roles:
 | 
			
		||||
    - lockdown
 | 
			
		||||
  # tasks:
 | 
			
		||||
  #   - name: Set up sys-admin account on VPS and secure VPS
 | 
			
		||||
  #     ansible.builtin.include_role:
 | 
			
		||||
  #       name: lockdown
 | 
			
		||||
  #       defaults_from: main
 | 
			
		||||
  #       vars_from: main
 | 
			
		||||
  #       handlers_from: main
 | 
			
		||||
  #       tasks_from: main
 | 
			
		||||
  #     tags:
 | 
			
		||||
  #       - init
 | 
			
		||||
      
 | 
			
		||||
		Reference in New Issue
	
	Block a user