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

59 lines
1.0 KiB
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-11-03 04:07:44 +00:00
state: present
- name: Install packages
2022-11-25 20:53:43 +00:00
when: install_graphics
2022-11-03 04:07:44 +00:00
package:
name:
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