git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--distrib.yml15
1 files changed, 12 insertions, 3 deletions
diff --git a/distrib.yml b/distrib.yml
index d41dca6..0b1ed89 100644
--- a/distrib.yml
+++ b/distrib.yml
@@ -1,6 +1,6 @@
---
-- hosts: "{{ lookup('env', 'DFDISTRIB') }}"
- gather_facts: false
+- hosts: "localhost"
+ connection: "local"
vars:
ansible_python_interpreter: "auto_silent"
tasks:
@@ -55,7 +55,11 @@
- "tmux-yank/yank.tmux"
format: "xz"
dest: "~/dotfiles.tar.xz"
- run_once: true
+- hosts: "{{ lookup('env', 'DFDISTRIB') }}"
+ gather_facts: false
+ vars:
+ ansible_python_interpreter: "auto_silent"
+ tasks:
- name: "Copy dotfiles.tar.xz to remote"
copy:
src: "~/dotfiles.tar.xz"
@@ -80,6 +84,11 @@
tags:
- "removal"
- "all"
+- hosts: "localhost"
+ connection: "local"
+ vars:
+ ansible_python_interpreter: "auto_silent"
+ tasks:
- name: "Remove source tarball"
delegate_to: "localhost"
connection: "local"