machine_setup/ansible/roles/gpg/tasks/freebsd.yaml

53 lines
978 B
YAML
Raw Normal View History

2022-10-16 04:32:44 +00:00
- name: Install packages
package:
name:
- gnupg
- pcsc-tools
- ccid
# - linux_libusb
- pinentry
2022-10-16 05:01:24 +00:00
- pinentry-qt5
state: present
2022-10-16 04:32:44 +00:00
- name: Create directories
file:
name: "{{ item }}"
state: directory
mode: 0755
owner: root
group: wheel
loop:
- /usr/local/etc/devd
- name: Install service configuration
copy:
2022-10-16 05:01:24 +00:00
src: "files/{{ item }}_rc.conf"
2022-10-16 04:32:44 +00:00
dest: "/etc/rc.conf.d/{{ item }}"
mode: 0644
owner: root
group: wheel
loop:
- pcscd
- name: Install devd Configuration
copy:
src: "files/{{ item.src }}"
dest: "{{ item.dest }}"
mode: 0644
owner: root
group: wheel
2022-10-16 05:01:24 +00:00
loop:
- src: pcscd.conf
dest: /usr/local/etc/devd/pcscd.conf
- name: Install devd Configuration
copy:
src: "files/{{ item.src }}"
dest: "{{ item.dest }}"
mode: 0644
owner: root
group: wheel
2022-10-16 04:32:44 +00:00
loop:
- src: pcscd.conf
dest: /usr/local/etc/devd/pcscd.conf