Add a linux gpg role.
This commit is contained in:
41
ansible/roles/gpg/tasks/freebsd.yaml
Normal file
41
ansible/roles/gpg/tasks/freebsd.yaml
Normal file
@@ -0,0 +1,41 @@
|
||||
- name: Install packages
|
||||
package:
|
||||
name:
|
||||
- gnupg
|
||||
- pcsc-tools
|
||||
- ccid
|
||||
# - linux_libusb
|
||||
- pinentry
|
||||
- pinentry-qt5 state: present
|
||||
|
||||
- name: Create directories
|
||||
file:
|
||||
name: "{{ item }}"
|
||||
state: directory
|
||||
mode: 0755
|
||||
owner: root
|
||||
group: wheel
|
||||
loop:
|
||||
- /usr/local/etc/devd
|
||||
|
||||
- name: Install service configuration
|
||||
copy:
|
||||
src: "files/intel_{{ item }}_rc.conf"
|
||||
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
|
||||
notify: restart devd
|
||||
loop:
|
||||
- src: pcscd.conf
|
||||
dest: /usr/local/etc/devd/pcscd.conf
|
||||
Reference in New Issue
Block a user