workstation/roles/home-cli/tasks/dotfiles.yml
Anthony Perkins 842d69a591 Copy the .gitconfig file directly
Trying to be smart and using the git_config module was breaking aliases
and other settings, because of stray quotation marks.
2021-03-09 22:00:05 +00:00

43 lines
1.3 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"