bootstrap script renamed

This commit is contained in:
Olivier 2022-10-09 15:05:02 +02:00
parent 7159ac0483
commit 9f014d613b
2 changed files with 13 additions and 1 deletions

2
Vagrantfile vendored
View File

@ -13,7 +13,7 @@ Vagrant.configure("2") do |config|
vb.memory = "4096"
vb.cpus = 2
end
config.vm.provision :shell, path: "bootstrap-mgmt.sh"
config.vm.provision :shell, path: "bootstrap-gitlab.sh"
config.vm.provision "ansible" do |ansible|
ansible.playbook = "ansible/gitlab_server.yml"
ansible.groups = {

12
bootstrap-gitlab.sh Normal file
View File

@ -0,0 +1,12 @@
!/usr/bin/env bash
## install ansible (http://docs.ansible.com/intro_installation.html)
# apt-get -y install software-properties-common
# apt-add-repository -y ppa:ansible/ansible
apt-get update
apt-get -y install tree
sed -i "s/PasswordAuthentication no/PasswordAuthentication yes/g" /etc/ssh/sshd_config
ln -fs /usr/share/zoneinfo/Europe/Paris /etc/localtime
dpkg-reconfigure --frontend noninteractive tzdata