summaryrefslogtreecommitdiff
path: root/ansible/playbooks/setup_dev_folder.yaml
diff options
context:
space:
mode:
authorSrdjan Grubor <sgnn7@sgnn7.org>2014-01-16 17:41:29 -0600
committerSrdjan Grubor <sgnn7@sgnn7.org>2014-01-16 21:46:33 -0600
commite4bbb0f1dbc5bf838a542e57f69f4905f664d8ba (patch)
tree4a82176aa296109c7c5e00d89dc0070bd421d8de /ansible/playbooks/setup_dev_folder.yaml
parente72fbbc70cf4cca953bc06d0c03037ce4d228ab4 (diff)
Added dev folder to desktop icons
Diffstat (limited to 'ansible/playbooks/setup_dev_folder.yaml')
-rw-r--r--ansible/playbooks/setup_dev_folder.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/ansible/playbooks/setup_dev_folder.yaml b/ansible/playbooks/setup_dev_folder.yaml
new file mode 100644
index 0000000..950a588
--- /dev/null
+++ b/ansible/playbooks/setup_dev_folder.yaml
@@ -0,0 +1,16 @@
+---
+# vim:ff=unix ts=2 sw=2 ai expandtab
+-
+ hosts: dev_machine
+
+ sudo: False
+
+ vars_files:
+ - "../default_variables.yaml"
+
+ tasks:
+ - name: "Copying python file for desktop generation"
+ copy: src=../templates/add_dev_tools_folder.py dest=~/ mode=755
+
+ - name: "Creating development tools folder"
+ shell: executable=/bin/bash export DISPLAY=:0; ~/add_dev_tools_folder.py &> ~/add_dev_tools_folder.log