diff options
author | mail_redacted_for_web | 2022-06-29 14:33:23 +0200 |
---|---|---|
committer | mail_redacted_for_web | 2022-06-29 14:33:23 +0200 |
commit | 2891498a5cfe17c397288c658ab3fa98cc82dda6 (patch) | |
tree | 6bf4d54e3e8acc78cd2b359525a74af2fa67f697 /distrib.yml | |
parent | 56b265cfde8ce74ccb1ed393da59376066833635 (diff) | |
download | dotfiles-2891498a5cfe17c397288c658ab3fa98cc82dda6.tar.bz2 |
separation into plays-per-host(s)
Diffstat (limited to 'distrib.yml')
-rw-r--r-- | distrib.yml | 15 |
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" |