git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/bin/ssh-with-gpg
diff options
context:
space:
mode:mail_redacted_for_web 2022-07-05 11:58:30 +0200
commitf33cc920bd9c958106d0baca7b4892947cac0fb2 (patch)
tree2022-03-24 15:07:33 +0100
committermail_redacted_for_web 2022-03-24 15:07:33 +0100
commite7028f317e4319902de85bc1361c8bf7fb70e693 (patch)
tree2401ea72a55b0c2a73ce067268c36152bf7eefbf /bin/ssh-with-gpg
parent1313e4f6e76c6f24ab75219f29aa4bf0466ae787 (diff)
downloaddotfiles-e7028f317e4319902de85bc1361c8bf7fb70e693.tar.bz2
+lst, %call apt binary directly
Diffstat (limited to 'bin/ssh-with-gpg')
0 files changed, 0 insertions, 0 deletions
lass='del'>- src: "~/dotfiles.tar.xz"
- dest: "~/dotfiles.tar.xz"
- mode: "0640"
- tags:
- - "remote"
- - "all"
- - name: "Unpack dotfiles.tar.xz"
- unarchive:
- dest: "~/"
- src: "~/dotfiles.tar.xz"
- remote_src: "yes"
- list_files: "yes"
- tags:
- - "unpack"
- - "all"
- - name: "Remove tarball on remote"
- file:
- path: "~/dotfiles.tar.xz"
- state: "absent"
- tags:
- - "removal"
- - "all"
+ - block:
+ - name: "Copy dotfiles.tar.xz to remote"
+ copy:
+ src: "~/dotfiles.tar.xz"
+ dest: "~/dotfiles.tar.xz"
+ mode: "0640"
+ tags:
+ - "remote"
+ - "all"
+ - name: "Unpack dotfiles.tar.xz"
+ unarchive:
+ dest: "~/"
+ src: "~/dotfiles.tar.xz"
+ remote_src: "yes"
+ list_files: "yes"
+ tags:
+ - "unpack"
+ - "all"
+ - name: "Remove tarball on remote"
+ file:
+ path: "~/dotfiles.tar.xz"
+ state: "absent"
+ tags:
+ - "removal"
+ - "all"
when: inventory_hostname != hostvars['localhost']['ansible_fqdn'] and
inventory_hostname != hostvars['localhost']['ansible_hostname'] and
inventory_hostname != hostvars['localhost']['ansible_hostname'] | lower