Install the doas config on Linux.

This commit is contained in:
Tom Alexander
2023-05-26 19:17:34 -04:00
parent 8b7b39f356
commit 64b1e95e8e
3 changed files with 14 additions and 31 deletions

View File

@@ -1,29 +1,11 @@
# - name: Build aur packages
# register: buildaur
# become_user: "{{ build_user.name }}"
# command: "aurutils-sync --no-view {{ item }}"
# args:
# creates: "/var/cache/pacman/custom/{{ item }}-*.pkg.tar.*"
# loop:
# - foo
# - name: Update cache
# when: buildaur.changed
# pacman:
# name: []
# state: present
# update_cache: true
# - name: Install packages
# package:
# name:
# - foo
# state: present
# - name: Enable services
# systemd:
# enabled: yes
# name: "{{ item }}"
# daemon_reload: yes
# loop:
# - foo.service
- name: Install Configuration
copy:
src: "files/{{ item.src }}"
dest: "{{ item.dest }}"
mode: 0400
owner: root
group: wheel
validate: "doas -C %s"
loop:
- src: doas.conf
dest: /etc/doas.conf