Syncing templates

This commit is contained in:
Moritz Heiber 2017-04-28 11:37:24 +02:00
parent fc14259402
commit 4855aad63e
1 changed files with 9 additions and 5 deletions

View File

@ -1,8 +1,7 @@
{
"variables": {
"user": "vagrant",
"password": "vagrant",
"atlas_token": ""
"password": "vagrant"
},
"provisioners": [
{
@ -34,7 +33,12 @@
},
{
"type": "ansible",
"playbook_file": "ansible/playbook.yml"
"playbook_file": "ansible/playbook.yml",
"extra_arguments": [ "--extra-vars", "mastodon_db_password=CHANGEME" ],
"ansible_env_vars": [
"ANSIBLE_REMOTE_TEMP=\"~/.ansible-tmp\"",
"ANSIBLE_SSH_PIPELINING=True"
]
},
{ "type": "shell",
"execute_command": "{{ .Vars }} sudo -E -S sh '{{ .Path }}'",
@ -60,13 +64,13 @@
" console-setup/layoutcode=us ",
" console-setup/modelcode=pc105 ",
" debconf/frontend=noninteractive ",
" debian-installer=en_US ",
" debian-installer=en_US.UTF-8 ",
" fb=false ",
" initrd=/install/initrd.gz ",
" kbd-chooser/method=us ",
" keyboard-configuration/layout=USA ",
" keyboard-configuration/variant=USA ",
" locale=en_US ",
" locale=en_US.UTF-8 ",
" netcfg/get_domain=vm ",
" netcfg/get_hostname=vagrant ",
" grub-installer/bootdev=/dev/sda ",