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

73 lines
2.3 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"
2021-11-01 10:59:31 +00:00
- name: Copy .config/git/config
ansible.builtin.copy:
src: gitconfig
2021-11-01 10:59:31 +00:00
dest: "{{ ansible_env.HOME }}/.config/git/config"
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-09-25 14:20:50 +00:00
- name: Copy .editorconfig
ansible.builtin.copy:
src: editorconfig
dest: "{{ ansible_env.HOME }}/.editorconfig"
- name: Copy .clang-format
ansible.builtin.copy:
src: clang-format
dest: "{{ ansible_env.HOME }}/.clang-format"
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'
2022-01-11 22:47:57 +00:00
- name: Copy mc ini
ansible.builtin.copy:
src: mc.ini
dest: "{{ ansible_env.HOME }}/.config/mc/ini"
- name: Copy mc panels.ini
ansible.builtin.copy:
src: mc.panels.ini
dest: "{{ ansible_env.HOME }}/.config/mc/panels.ini"
2022-01-18 11:48:49 +00:00
- name: Copy Microsoft.PowerShell_profile.ps1
ansible.builtin.copy:
src: Microsoft.PowerShell_profile.ps1
dest: "{{ ansible_env.HOME }}/.config/powershell/Microsoft.PowerShell_profile.ps1"