Make task names more specific
This commit is contained in:
parent
67ff07aafc
commit
8ffb0a4772
4 changed files with 47 additions and 41 deletions
|
@ -13,38 +13,44 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Set HOME permissions
|
||||
- name: Set $HOME permissions
|
||||
ansible.builtin.file:
|
||||
path: "{{ ansible_env.HOME }}"
|
||||
state: directory
|
||||
mode: '0700'
|
||||
- name: Create user bin directory
|
||||
- name: Create $HOME/.local
|
||||
ansible.builtin.file:
|
||||
path: "{{ ansible_env.HOME }}/.local"
|
||||
state: directory
|
||||
mode: '0700'
|
||||
- name: Create $HOME/.local/bin
|
||||
ansible.builtin.file:
|
||||
path: "{{ ansible_env.HOME }}/.local/bin"
|
||||
state: directory
|
||||
mode: '0700'
|
||||
- name: Create systemd user directory
|
||||
- name: Create $XDG_CONFIG_HOME
|
||||
ansible.builtin.file:
|
||||
path: "{{ ansible_env.XDG_CONFIG_HOME }}"
|
||||
state: directory
|
||||
mode: '0700'
|
||||
- name: Create $XDG_CONFIG_HOME/systemd/user
|
||||
ansible.builtin.file:
|
||||
path: "{{ ansible_env.XDG_CONFIG_HOME }}/systemd/user"
|
||||
state: directory
|
||||
- name: Create ~/.ssh directory
|
||||
- name: Create $HOME/.ssh
|
||||
ansible.builtin.file:
|
||||
path: "{{ ansible_env.HOME }}/.ssh"
|
||||
state: directory
|
||||
mode: '0700'
|
||||
- name: Create ~/.config directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ ansible_env.XDG_CONFIG_HOME }}"
|
||||
state: directory
|
||||
- name: Create ~/.config/git directory
|
||||
- name: Create $XDG_CONFIG_HOME/git
|
||||
ansible.builtin.file:
|
||||
path: "{{ ansible_env.XDG_CONFIG_HOME }}/git"
|
||||
state: directory
|
||||
- name: Create ~/.config/mc directory
|
||||
- name: Create $XDG_CONFIG_HOME/mc
|
||||
ansible.builtin.file:
|
||||
path: "{{ ansible_env.XDG_CONFIG_HOME }}/mc"
|
||||
state: directory
|
||||
- name: Create ~/.config/powershell directory
|
||||
- name: Create $XDG_CONFIG_HOME/powershell
|
||||
ansible.builtin.file:
|
||||
path: "{{ ansible_env.XDG_CONFIG_HOME }}/powershell"
|
||||
state: directory
|
||||
|
|
|
@ -13,60 +13,60 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Copy .gemrc
|
||||
- name: Create $HOME/.gemrc
|
||||
ansible.builtin.copy:
|
||||
src: gemrc
|
||||
dest: "{{ ansible_env.HOME }}/.gemrc"
|
||||
- name: Remove .hushlogin
|
||||
- name: Remove $HOME/.hushlogin
|
||||
ansible.builtin.file:
|
||||
path: "{{ ansible_env.HOME }}/.hushlogin"
|
||||
state: absent
|
||||
- name: Copy .tmux.conf
|
||||
- name: Create $HOME/.tmux.conf
|
||||
ansible.builtin.copy:
|
||||
src: tmux.conf
|
||||
dest: "{{ ansible_env.HOME }}/.tmux.conf"
|
||||
- name: Copy openpgp.asc
|
||||
- name: Create $XDG_CONFIG_HOME/openpgp.asc
|
||||
ansible.builtin.copy:
|
||||
src: openpgp.asc
|
||||
dest: "{{ ansible_env.XDG_CONFIG_HOME }}/openpgp.asc"
|
||||
- name: Copy .dput.cf
|
||||
- name: Create $HOME/.dput.cf
|
||||
ansible.builtin.copy:
|
||||
src: dput.cf
|
||||
dest: "{{ ansible_env.HOME }}/.dput.cf"
|
||||
- name: Copy .mailcap
|
||||
- name: Create $HOME/.mailcap
|
||||
ansible.builtin.copy:
|
||||
src: mailcap
|
||||
dest: "{{ ansible_env.HOME }}/.mailcap"
|
||||
- name: Copy .config/git/config
|
||||
- name: Create $XDG_CONFIG_HOME/git/config
|
||||
ansible.builtin.copy:
|
||||
src: gitconfig
|
||||
dest: "{{ ansible_env.XDG_CONFIG_HOME }}/git/config"
|
||||
- name: Copy .quiltrc-dpkg
|
||||
- name: Create $HOME/.quiltrc-dpkg
|
||||
ansible.builtin.copy:
|
||||
src: quiltrc-dpkg
|
||||
dest: "{{ ansible_env.HOME }}/.quiltrc-dpkg"
|
||||
- name: Copy .editorconfig
|
||||
- name: Create $XDG_CONFIG_HOME/editorconfig
|
||||
ansible.builtin.copy:
|
||||
src: editorconfig
|
||||
dest: "{{ ansible_env.HOME }}/.editorconfig"
|
||||
- name: Copy .clang-format
|
||||
dest: "{{ ansible_env.XDG_CONFIG_HOME }}/editorconfig"
|
||||
- name: Create $XDG_CONFIG_HOME/clang-format
|
||||
ansible.builtin.copy:
|
||||
src: clang-format
|
||||
dest: "{{ ansible_env.HOME }}/.clang-format"
|
||||
- name: Copy docutils setup script
|
||||
dest: "{{ ansible_env.XDG_CONFIG_HOME }}/clang-format"
|
||||
- name: Create $HOME/.local/bin/docutils-setup
|
||||
ansible.builtin.copy:
|
||||
src: docutils-setup.sh
|
||||
dest: "{{ ansible_env.HOME }}/.local/bin/docutils-setup"
|
||||
mode: '0755'
|
||||
- name: Copy mc ini
|
||||
- name: Create $XDG_CONFIG_HOME/mc/ini
|
||||
ansible.builtin.copy:
|
||||
src: mc.ini
|
||||
dest: "{{ ansible_env.XDG_CONFIG_HOME }}/mc/ini"
|
||||
- name: Copy mc panels.ini
|
||||
- name: Create $XDG_CONFIG_HOME/mc/panels.ini
|
||||
ansible.builtin.copy:
|
||||
src: mc.panels.ini
|
||||
dest: "{{ ansible_env.XDG_CONFIG_HOME }}/mc/panels.ini"
|
||||
- name: Copy Microsoft.PowerShell_profile.ps1
|
||||
- name: Create $XDG_CONFIG_HOME/powershell/Microsoft.PowerShell_profile.ps1
|
||||
ansible.builtin.copy:
|
||||
src: Microsoft.PowerShell_profile.ps1
|
||||
dest: "{{ ansible_env.XDG_CONFIG_HOME }}/powershell/Microsoft.PowerShell_profile.ps1"
|
||||
|
|
|
@ -13,23 +13,23 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Create user applications directory
|
||||
- name: Create $XDG_DATA_HOME/applications
|
||||
ansible.builtin.file:
|
||||
path: "{{ ansible_env.XDG_DATA_HOME }}/applications"
|
||||
state: directory
|
||||
- name: Create user autostart directory
|
||||
- name: Create $XDG_CONFIG_HOME/autostart
|
||||
ansible.builtin.file:
|
||||
path: "{{ ansible_env.XDG_CONFIG_HOME }}/autostart"
|
||||
state: directory
|
||||
- name: Create ~/.fvwm directory
|
||||
- name: Create $HOME/.fvwm
|
||||
ansible.builtin.file:
|
||||
path: "{{ ansible_env.HOME }}/.fvwm"
|
||||
state: directory
|
||||
- name: Create ~/.local/share/fonts directory
|
||||
- name: Create $XDG_DATA_HOME/fonts
|
||||
ansible.builtin.file:
|
||||
path: "{{ ansible_env.XDG_DATA_HOME }}/fonts"
|
||||
state: directory
|
||||
- name: Create ~/.config/fontconfig directory
|
||||
- name: Create $XDG_CONFIG_HOME/fontconfig
|
||||
ansible.builtin.file:
|
||||
path: "{{ ansible_env.XDG_CONFIG_HOME }}/fontconfig"
|
||||
state: directory
|
||||
|
|
|
@ -13,43 +13,43 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Copy .Xresources
|
||||
- name: Create $HOME/.Xresources
|
||||
ansible.builtin.copy:
|
||||
src: Xresources
|
||||
dest: "{{ ansible_env.HOME }}/.Xresources"
|
||||
- name: Create stalonetrayrc
|
||||
- name: Create $HOME/.stalonetrayrc
|
||||
ansible.builtin.copy:
|
||||
src: stalonetrayrc
|
||||
dest: "{{ ansible_env.HOME }}/.stalonetrayrc"
|
||||
- name: Create fvwm config file
|
||||
- name: Create $HOME/.fvwm/config
|
||||
ansible.builtin.copy:
|
||||
src: fvwmrc
|
||||
dest: "{{ ansible_env.HOME }}/.fvwm/config"
|
||||
- name: Create NetBSD xsession file
|
||||
- name: Create NetBSD $HOME/.xsession
|
||||
ansible.builtin.copy:
|
||||
src: xsession-netbsd
|
||||
dest: "{{ ansible_env.HOME }}/.xsession"
|
||||
when: ansible_system == "NetBSD"
|
||||
- name: Create xinitrc symlink
|
||||
- name: Create NetBSD $HOME/.xinitrc
|
||||
ansible.builtin.file:
|
||||
src: ".xsession"
|
||||
dest: "{{ ansible_env.HOME }}/.xinitrc"
|
||||
state: link
|
||||
when: ansible_system == "NetBSD"
|
||||
- name: Load ~/.Xresources
|
||||
- name: Create $XDG_CONFIG_HOME/autostart/xrdb.desktop
|
||||
ansible.builtin.copy:
|
||||
src: "xrdb.desktop"
|
||||
dest: "{{ ansible_env.XDG_CONFIG_HOME }}/autostart/xrdb.desktop"
|
||||
when: ansible_distribution == "Fedora" or ansible_distribution == "Debian"
|
||||
- name: Add to-do list launcher
|
||||
- name: Create $XDG_DATA_HOME/applications/todo.desktop
|
||||
ansible.builtin.template:
|
||||
src: todo.desktop
|
||||
dest: "{{ ansible_env.XDG_DATA_HOME }}/applications/todo.desktop"
|
||||
- name: Copy .xbindkeysrc
|
||||
- name: Create $HOME/.xbindkeysrc
|
||||
ansible.builtin.copy:
|
||||
src: "xbindkeysrc"
|
||||
dest: "{{ ansible_env.HOME }}/.xbindkeysrc"
|
||||
- name: Copy fonts.conf
|
||||
- name: Create $XDG_CONFIG_HOME/fontconfig/fonts.conf
|
||||
ansible.builtin.copy:
|
||||
src: "fonts.conf"
|
||||
dest: "{{ ansible_env.XDG_CONFIG_HOME }}/fontconfig/fonts.conf"
|
||||
|
|
Loading…
Reference in a new issue