From 389b8f948b8ffffbc5fc7438b8208209d33e5b9b Mon Sep 17 00:00:00 2001 From: Harald Pfeiffer Date: Tue, 28 Jun 2022 19:53:13 +0200 Subject: Move tarball creation inside ansible playbook --- distrib.yml | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/distrib.yml b/distrib.yml index a4f722e..9d3f476 100644 --- a/distrib.yml +++ b/distrib.yml @@ -4,6 +4,53 @@ vars: ansible_python_interpreter: "auto_silent" tasks: + - name: "Create dotfiles.tar.xz" + delegate_to: "localhost" + connection: "local" + archive: + path: + - ".bash_profile" + - ".bashrc" + - ".flake8" + - ".gitconfig" + - ".perlcriticrc" + - ".profile" + - ".pylintrc" + - ".tmux.conf" + - ".tmux.conf.local" + - ".vimrc" + - ".bash/aliases.bash" + - ".bash/aliases.bash.local" + - ".bash/exec.bash" + - ".bash/postexec.bash" + - ".bash/prompt.bash" + - ".bash/vars.bash" + - "bin/ssh-agent-launcher" + - "bin/ssh-with-gpg" + - ".gnupgdirmngr.conf" + - ".gnupggpg-agent.conf" + - ".gnupggpg.conf" + - "tmux-gpakosz/.gitignore" + - "tmux-gpakosz/LICENSE.MIT" + - "tmux-gpakosz/LICENSE.WTFPLv2" + - "tmux-gpakosz/README.md" + - "tmux-gpakosz/.tmux.conf" + - "tmux-gpakosz/.tmux.conf.local" + - "tmux-yank/CHANGELOG.md" + - "tmux-yank/citest" + - "tmux-yank/_config.yml" + - "tmux-yank/.editorconfig" + - "tmux-yank/.gitignore" + - "tmux-yank/LICENSE.md" + - "tmux-yank/README.md" + - "tmux-yank/scripts" + - "tmux-yank/.travis.yml" + - "tmux-yank/Vagrantfile" + - "tmux-yank/vagrant_provisioning.sh" + - "tmux-yank/video" + - "tmux-yank/yank.tmux" + format: "xz" + dest: "~/dotfiles.tar.xz" - name: "Copy dotfiles.tar.xz to remote" copy: src: "dotfiles.tar.xz" -- cgit v1.2.3