workstation/roles/home-cli/tasks/dotfiles.yml

52 lines
1.6 KiB
YAML

---
# Copyright 2021 Anthony Perkins
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
- name: Copy .gemrc
ansible.builtin.copy:
src: gemrc
dest: "{{ ansible_env.HOME }}/.gemrc"
- name: Remove .hushlogin
ansible.builtin.file:
path: "{{ ansible_env.HOME }}/.hushlogin"
state: absent
- name: Copy .tmux.conf
ansible.builtin.copy:
src: tmux.conf
dest: "{{ ansible_env.HOME }}/.tmux.conf"
- name: Copy openpgp.asc
ansible.builtin.copy:
src: openpgp.asc
dest: "{{ ansible_env.HOME }}/.config/openpgp.asc"
- name: Copy .dput.cf
ansible.builtin.copy:
src: dput.cf
dest: "{{ ansible_env.HOME }}/.dput.cf"
- name: Copy .mailcap
ansible.builtin.copy:
src: mailcap
dest: "{{ ansible_env.HOME }}/.mailcap"
- name: Copy .gitconfig
ansible.builtin.copy:
src: gitconfig
dest: "{{ ansible_env.HOME }}/.gitconfig"
- name: Copy .quiltrc-dpkg
ansible.builtin.copy:
src: quiltrc-dpkg
dest: "{{ ansible_env.HOME }}/.quiltrc-dpkg"
- name: Copy docutils setup script
ansible.builtin.copy:
src: docutils-setup.sh
dest: "{{ ansible_env.HOME }}/bin/docutils-setup"
mode: '0755'