added inventory number extraction
This commit is contained in:
parent
39e5e079f9
commit
36e88ae2d3
@ -181,7 +181,9 @@
|
|||||||
dest: /etc/dconf/profile/user
|
dest: /etc/dconf/profile/user
|
||||||
- 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