1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-26 06:08:35 +01:00

template config file

This commit is contained in:
eoli3n 2017-12-19 13:00:46 +01:00
parent c3db459036
commit 3e35bd7e12
3 changed files with 8 additions and 3 deletions

@ -19,11 +19,11 @@ echo "### LIST TASKS ###########################################################
ansible-playbook -i "localhost," -c local install.yml --list-tasks -t desktop | grep TAGS | egrep -v 'play|debug|include_role' | sed 's/\ *\(.*\)TAGS.*$/\1/' ansible-playbook -i "localhost," -c local install.yml --list-tasks -t desktop | grep TAGS | egrep -v 'play|debug|include_role' | sed 's/\ *\(.*\)TAGS.*$/\1/'
echo "Do you want to dryrun ? (Y/n)" echo "Do you want to dryrun ? (y/N)"
read ok read ok
ok=${ok:-Y} ok=${ok:-N}
if [[ "$ok" == "Y" ]] if [[ "$ok" == "y" ]]
then then
echo "### DRYRUN ###################################################################" echo "### DRYRUN ###################################################################"
ansible-playbook -i "localhost," -c local install.yml --ask-become-pass -CD -t $1 ansible-playbook -i "localhost," -c local install.yml --ask-become-pass -CD -t $1

@ -7,3 +7,6 @@
- name: Configure i3-wm - name: Configure i3-wm
synchronize: src=files/ dest=~/ synchronize: src=files/ dest=~/
- name: Template config file
template: src=templates/config.j2 dest=~/.i3/config

@ -0,0 +1,2 @@
# Vagrant template
# test test