git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormail_redacted_for_web 2022-06-29 14:33:23 +0200
committermail_redacted_for_web 2022-06-29 14:33:23 +0200
commit2891498a5cfe17c397288c658ab3fa98cc82dda6 (patch)
tree6bf4d54e3e8acc78cd2b359525a74af2fa67f697
parent56b265cfde8ce74ccb1ed393da59376066833635 (diff)
downloaddotfiles-2891498a5cfe17c397288c658ab3fa98cc82dda6.tar.bz2
separation into plays-per-host(s)
-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"