lint: satisfy ansible-lint
This commit is contained in:
parent
ad1fd62abb
commit
fe6a95ba14
4 changed files with 14 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -19,4 +19,6 @@
|
|||
|
||||
- name: Reload firewalld
|
||||
ansible.builtin.command: "firewall-cmd --reload"
|
||||
register: firewalld_output
|
||||
changed_when: firewalld_output.rc != 0
|
||||
become: true
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue