lint: satisfy ansible-lint

This commit is contained in:
saibotk 2023-04-06 00:27:43 +02:00
parent ad1fd62abb
commit fe6a95ba14
Signed by: saibotk
GPG key ID: 67585F0065E261D5
4 changed files with 14 additions and 0 deletions

View file

@ -21,13 +21,19 @@
- name: Regenerate grub config BIOS
ansible.builtin.command: grub2-mkconfig -o /etc/grub2.cfg
listen: Regenerate grub config
register: grub_output
changed_when: grub_output.rc != 0
become: true
- name: Regenerate grub config EFI
ansible.builtin.command: grub2-mkconfig -o /etc/grub2-efi.cfg
listen: Regenerate grub config
register: grub_efi_output
changed_when: grub_efi_output.rc != 0
become: true
- name: Regenerate dracut
ansible.builtin.command: dracut -f
register: dracut_output
changed_when: dracut_output.rc != 0
become: true

View file

@ -26,9 +26,13 @@
- name: Regenerate grub config BIOS
ansible.builtin.command: grub2-mkconfig -o /etc/grub2.cfg
listen: Regenerate grub config
register: grub_output
changed_when: grub_output.rc != 0
become: true
- name: Regenerate grub config EFI
ansible.builtin.command: grub2-mkconfig -o /etc/grub2-efi.cfg
listen: Regenerate grub config
register: grub_efi_output
changed_when: grub_efi_output.rc != 0
become: true

View file

@ -19,4 +19,6 @@
- name: Reload firewalld
ansible.builtin.command: "firewall-cmd --reload"
register: firewalld_output
changed_when: firewalld_output.rc != 0
become: true

View file

@ -21,4 +21,6 @@
ansible.builtin.command: "docker-compose restart tor"
args:
chdir: "{{ traefik_install_location }}"
register: compose_output
changed_when: compose_output.rc != 0
become: true