added inventory number extraction
This commit is contained in:
parent
39e5e079f9
commit
36e88ae2d3
@ -182,6 +182,8 @@
|
|||||||
- name: Update default dock confuguration
|
- name: Update default dock confuguration
|
||||||
command: dconf update
|
command: dconf update
|
||||||
|
|
||||||
|
- name: Extract inventory number
|
||||||
|
command: grep -oP inventory_number=\K\d+ /etc/inventory_number.cmdline > /ect/inventory_number
|
||||||
- name: Reboot
|
- name: Reboot
|
||||||
ansible.builtin.reboot:
|
ansible.builtin.reboot:
|
||||||
reboot_timeout: 60
|
reboot_timeout: 60
|
||||||
|
Loading…
Reference in New Issue
Block a user