update
This commit is contained in:
parent
47e5571a49
commit
a36ea03119
25 changed files with 127 additions and 81 deletions
|
|
@ -16,10 +16,16 @@
|
|||
with_items: "{{ service_files.files }}"
|
||||
when: service_files is defined
|
||||
|
||||
|
||||
- name: Combine predefined list and filesystem paths
|
||||
set_fact:
|
||||
systemd_service: "{{ systemd_service | union(service_files.files | map(attribute='path') | map('basename')) | unique }}"
|
||||
when: service_files is defined
|
||||
systemd_service: "{{ systemd_service | default([]) | union(service_files.files | map(attribute='path') | map('basename')) | unique }}"
|
||||
when: service_files is defined
|
||||
|
||||
#- name: Combine predefined list and filesystem paths
|
||||
# set_fact:
|
||||
# systemd_service: "{{ systemd_service | union(service_files.files | map(attribute='path') | map('basename')) | unique }}"
|
||||
# when: service_files is defined
|
||||
|
||||
- name: Enable Systemd Services
|
||||
ansible.builtin.systemd_service:
|
||||
|
|
|
|||
|
|
@ -1,7 +1,15 @@
|
|||
- name: Ensure ca-certificates directory exists
|
||||
file:
|
||||
path: /etc/ca-certificates/trust-source/anchors
|
||||
state: directory
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0755'
|
||||
|
||||
- name: Copy Public certs
|
||||
copy:
|
||||
src: durp.crt
|
||||
dest: /etc/ca-certificates/trust-source/anchors/durp.crt
|
||||
|
||||
- name: Trust certs
|
||||
command: trust extract-compat
|
||||
command: update-ca-certificates
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue