added inventory number extraction
This commit is contained in:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user