File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- agnocast_version : " 1.0.1"
1+ agnocast_version : 1.0.1
Original file line number Diff line number Diff line change 1111
1212- name : Install agnocast-heaphook v{{ agnocast_version }}
1313 ansible.builtin.apt :
14- name : " agnocast-heaphook={{ agnocast_version }}*"
14+ name : agnocast-heaphook={{ agnocast_version }}*
1515 state : present
1616 become : true
1717
1818- name : Check if agnocast-kmod v{{ agnocast_version }} is installed in dkms
19- ansible.builtin.shell : " dkms status | grep agnocast | grep {{ agnocast_version }}"
19+ ansible.builtin.shell : dkms status | grep agnocast | grep {{ agnocast_version }}
2020 register : dkms_status
2121 failed_when : false
2222 become : true
2323
2424- name : Purge agnocast-kmod if v{{ agnocast_version }} not found in dkms
2525 ansible.builtin.apt :
26- name : " agnocast-kmod={{ agnocast_version }}*"
26+ name : agnocast-kmod={{ agnocast_version }}*
2727 state : absent
2828 become : true
2929 when : dkms_status.rc != 0
3030
3131- name : Install agnocast-kmod if v{{ agnocast_version }} not found in dkms
3232 ansible.builtin.apt :
33- name : " agnocast-kmod={{ agnocast_version }}*"
33+ name : agnocast-kmod={{ agnocast_version }}*
3434 state : present
3535 become : true
3636 when : dkms_status.rc != 0
You can’t perform that action at this time.
0 commit comments