mirror of
				https://github.com/Maks1mS/alt-linux-vagrant-boxes.git
				synced 2025-11-04 14:51:23 +03:00 
			
		
		
		
	wip
This commit is contained in:
		
							
								
								
									
										1
									
								
								alt-server-v-10/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								alt-server-v-10/README.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
https://app.vagrantup.com/maks1ms/boxes/alt-server-v-10
 | 
			
		||||
@@ -1,17 +0,0 @@
 | 
			
		||||
---
 | 
			
		||||
- name: Provision
 | 
			
		||||
  hosts: default
 | 
			
		||||
  become: true
 | 
			
		||||
  become_method: su
 | 
			
		||||
  gather_facts: false
 | 
			
		||||
  vars:
 | 
			
		||||
    become_password: vagrant
 | 
			
		||||
  tasks:
 | 
			
		||||
    - name: Shell
 | 
			
		||||
      ansible.builtin.shell: |
 | 
			
		||||
        mkdir -pm 700 /home/vagrant/.ssh
 | 
			
		||||
        curl -q -o /home/vagrant/.ssh/authorized_keys https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant.pub
 | 
			
		||||
        chmod 0600 /home/vagrant/.ssh/authorized_keys
 | 
			
		||||
        chown -R vagrant:vagrant /home/vagrant/.ssh
 | 
			
		||||
        echo "vagrant ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/vagrant
 | 
			
		||||
        chmod 0440 /etc/sudoers.d/vagrant
 | 
			
		||||
@@ -16,7 +16,4 @@ boot_command = [
 | 
			
		||||
  "e<wait><down><down><down><end><spacebar>",
 | 
			
		||||
  "ai curl=http://{{ .HTTPIP }}:{{ .HTTPPort }}/",
 | 
			
		||||
  "<f10>"
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
setup_playbook = "./alt-server-v-10/setup.yml"
 | 
			
		||||
setup_script = "./alt-server-v-10/setup.sh"
 | 
			
		||||
]
 | 
			
		||||
		Reference in New Issue
	
	Block a user