Fix ansible-lint warnings in base and proxy roles

This commit is contained in:
2026-01-10 10:36:08 -05:00
parent a3f723885d
commit d3a6b22199
3 changed files with 5 additions and 3 deletions

View File

@@ -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:

View File

@@ -1 +1 @@
cached_dhparams_pem: /vagrant/scratch/dhparams.pem proxy_cached_dhparams_pem: /vagrant/scratch/dhparams.pem

View File

@@ -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