git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
BranchCommit messageAuthorAge
masterchore(release): prepare for 1.8.0H. P. 6 hours
testingchore(release): prepare for 1.8.0H. P. 6 hours
 
TagDownloadAuthorAge
v1.8.0dotfiles-1.8.0.tar.bz2  H. P. 6 hours
v1.7.1dotfiles-1.7.1.tar.bz2  H. P. 6 hours
v1.7.0dotfiles-1.7.0.tar.bz2  H. P. 7 hours
v1.6.0dotfiles-1.6.0.tar.bz2  H. P. 6 weeks
v1.2.8dotfiles-1.2.8.tar.bz2  H. P. 8 months
v1.2.7dotfiles-1.2.7.tar.bz2  H. P. 11 months
v1.2.6dotfiles-1.2.6.tar.bz2  H. P. 12 months
v1.2.5dotfiles-1.2.5.tar.bz2  H. P. 12 months
v1.2.4dotfiles-1.2.4.tar.bz2  H. P. 12 months
v1.2.3dotfiles-1.2.3.tar.bz2  H. P. 12 months
v1.2.2dotfiles-1.2.2.tar.bz2  H. P. 12 months
v1.2.1dotfiles-1.2.1.tar.bz2  H. P. 18 months
v1.2.0dotfiles-1.2.0.tar.bz2  H. P. 20 months
v1.1.0dotfiles-1.1.0.tar.bz2  H. P. 21 months
v1.0.0dotfiles-1.0.0.tar.bz2  H. P. 21 months
v0.9.5dotfiles-0.9.5.tar.bz2  H. P. 3 years
v0.9.4dotfiles-0.9.4.tar.bz2  H. P. 4 years
v0.9.3dotfiles-0.9.3.tar.bz2  H. P. 4 years
v0.9.2dotfiles-0.9.2.tar.bz2  H. P. 4 years
v0.9.1dotfiles-0.9.1.tar.bz2  H. P. 4 years
: bold } /* Name.Tag */ .highlight .nv { color: #aa0000 } /* Name.Variable */ .highlight .ow { color: #0000aa } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #009999 } /* Literal.Number.Bin */ .highlight .mf { color: #009999 } /* Literal.Number.Float */ .highlight .mh { color: #009999 } /* Literal.Number.Hex */ .highlight .mi { color: #009999 } /* Literal.Number.Integer */ .highlight .mo { color: #009999 } /* Literal.Number.Oct */ .highlight .sa { color: #aa5500 } /* Literal.String.Affix */ .highlight .sb { color: #aa5500 } /* Literal.String.Backtick */ .highlight .sc { color: #aa5500 } /* Literal.String.Char */ .highlight .dl { color: #aa5500 } /* Literal.String.Delimiter */ .highlight .sd { color: #aa5500 } /* Literal.String.Doc */ .highlight .s2 { color: #aa5500 } /* Literal.String.Double */ .highlight .se { color: #aa5500 } /* Literal.String.Escape */ .highlight .sh { color: #aa5500 } /* Literal.String.Heredoc */ .highlight .si { color: #aa5500 } /* Literal.String.Interpol */ .highlight .sx { color: #aa5500 } /* Literal.String.Other */ .highlight .sr { color: #009999 } /* Literal.String.Regex */ .highlight .s1 { color: #aa5500 } /* Literal.String.Single */ .highlight .ss { color: #0000aa } /* Literal.String.Symbol */ .highlight .bp { color: #00aaaa } /* Name.Builtin.Pseudo */ .highlight .fm { color: #00aa00 } /* Name.Function.Magic */ .highlight .vc { color: #aa0000 } /* Name.Variable.Class */ .highlight .vg { color: #aa0000 } /* Name.Variable.Global */ .highlight .vi { color: #aa0000 } /* Name.Variable.Instance */ .highlight .vm { color: #aa0000 } /* Name.Variable.Magic */ .highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
---
- hosts: "localhost"
  connection: "local"
  gather_facts: false
  vars:
    ansible_python_interpreter: "auto_silent"
  tasks:
    - setup:
        gather_subset:
          - '!all'
          - '!min'
          - 'platform'
    - name: "Check that DFDISTRIB is not empty"
      assert:
        that:
          - "lookup('env', 'DFDISTRIB') is defined and lookup('env', 'DFDISTRIB') != ''"
        fail_msg:
          - "Please set the environment variable DFDISTRIB to an existing inventory entry"
          - "where you wish to place the dotfiles"
    - 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/exec.bash.local"
          - ".bash/postexec.bash"
          - "~/.bash/postexec.bash.local"
          - ".bash/prompt.bash"
          - "~/.bash/prompt.bash.local"
          - ".bash/vars.bash"
          - "~/.bash/vars.bash.local"
          - "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"
- hosts: "{{ lookup('env', 'DFDISTRIB') }}"
  gather_facts: false
  vars:
    ansible_python_interpreter: "auto_silent"
  tasks:
    - 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
- hosts: "localhost"
  connection: "local"
  gather_facts: false
  vars:
    ansible_python_interpreter: "auto_silent"
  tasks:
    - name: "Remove source tarball"
      file:
        path: "~/dotfiles.tar.xz"
        state: "absent"
      tags:
        - "removal"
        - "all"