auto-accept minion keys because lab

This commit is contained in:
John Bowdre 2023-03-23 18:37:06 -05:00
parent 0861131c95
commit e5622ca798

9
salt/Vagrantfile vendored
View file

@ -17,9 +17,12 @@ Vagrant.configure("2") do |config|
sudo apt-get update sudo apt-get update
sudo apt-get install curl vim -y sudo apt-get install curl vim -y
curl -o bootstrap-salt.sh -L https://bootstrap.saltproject.io curl -o bootstrap-salt.sh -L https://bootstrap.saltproject.io
sudo sh bootstrap-salt.sh -M sh bootstrap-salt.sh -M -X
sudo systemctl start salt-master sed -i 's|^#auto_accept:.*$|auto_accept: True|' /etc/salt/master
sudo systemctl start salt-minion systemctl start salt-master
systemctl start salt-minion
sleep 5
systemctl restart salt-master
SHELL SHELL
end end
config.vm.define "minion01" do |minion01| config.vm.define "minion01" do |minion01|