fixed vagrant and ansible to use xonsh
This commit is contained in:
parent
ff0cf30d62
commit
5c698eeea2
1
.gitignore
vendored
1
.gitignore
vendored
@ -50,3 +50,4 @@ nosetests.xml
|
||||
pelican-plugins/*
|
||||
.DS_Store
|
||||
node_modules
|
||||
*.retry
|
||||
|
3
Vagrantfile
vendored
3
Vagrantfile
vendored
@ -5,6 +5,9 @@ Vagrant.configure(2) do |config|
|
||||
config.vm.network "forwarded_port", guest: 8888, host: 8888
|
||||
config.vm.network "forwarded_port", guest: 8000, host: 8000
|
||||
config.ssh.forward_agent = true
|
||||
#config.ssh.username = "vagrant"
|
||||
#config.ssh.private_key_path = ["~/.ssh/id_rsa", "~/.vagrant.d/insecure_private_key"]
|
||||
#config.ssh.insert_key = false
|
||||
|
||||
config.vm.provider "docker" do |d|
|
||||
d.build_dir = "./vagrant"
|
||||
|
@ -106,19 +106,19 @@
|
||||
|
||||
- name: run batcave
|
||||
command:
|
||||
~/ansible/bin/ansible-playbook -i hosts base.yml -c local --extra-vars="hosts=localhost"
|
||||
~/ansible/bin/ansible-playbook -i hosts xonsh.yml -c local --extra-vars="hosts=localhost"
|
||||
chdir=~/.batcave
|
||||
environment:
|
||||
SSL_CERT_FILE: /etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
- name: export variables
|
||||
lineinfile:
|
||||
dest=~/.zshrc
|
||||
dest=~/.xonshrc
|
||||
line='{{ item }}'
|
||||
with_items:
|
||||
- export PYTHONIOENCODING=UTF-8
|
||||
- export LC_ALL=C.UTF-8
|
||||
- export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
|
||||
- $PYTHONIOENCODING = 'UTF-8'
|
||||
- $LC_ALL = 'C.UTF-8'
|
||||
- $SSL_CERT_FILE = '/etc/ssl/certs/ca-certificates.crt'
|
||||
|
||||
- name: no git colors
|
||||
command: git config --global color.ui false
|
||||
|
Loading…
Reference in New Issue
Block a user