bootstrap script renamed
This commit is contained in:
parent
7159ac0483
commit
9f014d613b
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@ -13,7 +13,7 @@ Vagrant.configure("2") do |config|
|
|||||||
vb.memory = "4096"
|
vb.memory = "4096"
|
||||||
vb.cpus = 2
|
vb.cpus = 2
|
||||||
end
|
end
|
||||||
config.vm.provision :shell, path: "bootstrap-mgmt.sh"
|
config.vm.provision :shell, path: "bootstrap-gitlab.sh"
|
||||||
config.vm.provision "ansible" do |ansible|
|
config.vm.provision "ansible" do |ansible|
|
||||||
ansible.playbook = "ansible/gitlab_server.yml"
|
ansible.playbook = "ansible/gitlab_server.yml"
|
||||||
ansible.groups = {
|
ansible.groups = {
|
||||||
|
12
bootstrap-gitlab.sh
Normal file
12
bootstrap-gitlab.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user