mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-26 06:08:35 +01:00
template config file
This commit is contained in:
parent
c3db459036
commit
3e35bd7e12
@ -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
|
||||||
|
2
roles/i3-wm/templates/vagrant/config.j2
Normal file
2
roles/i3-wm/templates/vagrant/config.j2
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Vagrant template
|
||||||
|
# test test
|
Loading…
Reference in New Issue
Block a user