Explicitly specify file permissions

This commit is contained in:
Jake Howard 2020-11-25 12:11:10 +00:00
parent 732cabc316
commit 6ed0968e04
Signed by: jake
GPG key ID: 57AFB45680EDD477
5 changed files with 5 additions and 0 deletions

View file

@ -60,3 +60,4 @@
path: /etc/modprobe.d/hid_apple.conf path: /etc/modprobe.d/hid_apple.conf
line: options hid_apple fnmode=2 line: options hid_apple fnmode=2
create: true create: true
mode: 0644

View file

@ -20,3 +20,4 @@
path: "{{ home }}/.dotfiles" path: "{{ home }}/.dotfiles"
owner: "{{ user }}" owner: "{{ user }}"
group: users group: users
mode: 0700

View file

@ -17,6 +17,7 @@
line: "aur_builder ALL=(ALL) NOPASSWD: /usr/bin/pacman" line: "aur_builder ALL=(ALL) NOPASSWD: /usr/bin/pacman"
create: true create: true
validate: visudo -cf %s validate: visudo -cf %s
mode: 0644
- name: Install yay - name: Install yay
aur: aur:

View file

@ -16,3 +16,4 @@
path: /opt/pyenv path: /opt/pyenv
owner: "{{ user }}" owner: "{{ user }}"
group: users group: users
mode: 0644

View file

@ -133,3 +133,4 @@
state: present state: present
line: KEYMAP=uk line: KEYMAP=uk
create: true create: true
mode: 0644