Fix ansible-lint warnings in base and proxy roles
This commit is contained in:
@@ -7,7 +7,9 @@
|
|||||||
|
|
||||||
- name: Reconfigure locales
|
- name: Reconfigure locales
|
||||||
ansible.builtin.command: dpkg-reconfigure -f noninteractive locales
|
ansible.builtin.command: dpkg-reconfigure -f noninteractive locales
|
||||||
|
changed_when: false
|
||||||
listen: reconfigure_locales
|
listen: reconfigure_locales
|
||||||
|
when: not ansible_check_mode
|
||||||
|
|
||||||
- name: Restart WireGuard
|
- name: Restart WireGuard
|
||||||
ansible.builtin.service:
|
ansible.builtin.service:
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
cached_dhparams_pem: /vagrant/scratch/dhparams.pem
|
proxy_cached_dhparams_pem: /vagrant/scratch/dhparams.pem
|
||||||
|
|||||||
@@ -12,12 +12,12 @@
|
|||||||
|
|
||||||
- name: Check for cached dhparams.pem file
|
- name: Check for cached dhparams.pem file
|
||||||
ansible.builtin.stat:
|
ansible.builtin.stat:
|
||||||
path: "{{ cached_dhparams_pem }}"
|
path: "{{ proxy_cached_dhparams_pem }}"
|
||||||
register: dhparams_file
|
register: dhparams_file
|
||||||
|
|
||||||
- name: Copy cached dhparams.pem to /etc/ssl/
|
- name: Copy cached dhparams.pem to /etc/ssl/
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "{{ cached_dhparams_pem }}"
|
src: "{{ proxy_cached_dhparams_pem }}"
|
||||||
dest: /etc/ssl/dhparams.pem
|
dest: /etc/ssl/dhparams.pem
|
||||||
mode: "600"
|
mode: "600"
|
||||||
remote_src: true
|
remote_src: true
|
||||||
|
|||||||
Reference in New Issue
Block a user