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

53 lines
1.6 KiB
YAML
Raw Normal View History

---
# 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.
2019-11-22 15:46:55 +00:00
- name: Copy .gemrc
2021-02-19 20:32:22 +00:00
ansible.builtin.copy:
2019-11-22 15:46:55 +00:00
src: gemrc
dest: "{{ ansible_env.HOME }}/.gemrc"
2019-11-25 11:01:39 +00:00
- name: Remove .hushlogin
2021-02-19 20:32:22 +00:00
ansible.builtin.file:
2019-11-25 11:01:39 +00:00
path: "{{ ansible_env.HOME }}/.hushlogin"
state: absent
- name: Copy .tmux.conf
2021-02-19 20:32:22 +00:00
ansible.builtin.copy:
src: tmux.conf
dest: "{{ ansible_env.HOME }}/.tmux.conf"
2019-10-09 13:07:20 +00:00
- name: Copy openpgp.asc
2021-02-19 20:32:22 +00:00
ansible.builtin.copy:
2019-10-09 13:07:20 +00:00
src: openpgp.asc
dest: "{{ ansible_env.HOME }}/.config/openpgp.asc"
2020-06-04 21:42:31 +00:00
- name: Copy .dput.cf
2021-02-19 20:32:22 +00:00
ansible.builtin.copy:
2020-06-04 21:42:31 +00:00
src: dput.cf
dest: "{{ ansible_env.HOME }}/.dput.cf"
- name: Copy .mailcap
2021-02-19 20:32:22 +00:00
ansible.builtin.copy:
src: mailcap
dest: "{{ ansible_env.HOME }}/.mailcap"
- name: Copy .gitconfig
ansible.builtin.copy:
src: gitconfig
dest: "{{ ansible_env.HOME }}/.gitconfig"
2021-03-16 08:26:44 +00:00
- name: Copy .quiltrc-dpkg
ansible.builtin.copy:
src: quiltrc-dpkg
dest: "{{ ansible_env.HOME }}/.quiltrc-dpkg"
2021-03-22 22:50:28 +00:00
- name: Copy docutils setup script
ansible.builtin.copy:
src: docutils-setup.sh
dest: "{{ ansible_env.HOME }}/bin/docutils-setup"
mode: '0755'