Adding device owner info
This commit is contained in:
parent
2492e0ef5a
commit
b596e01068
4 changed files with 21 additions and 0 deletions
|
@ -10,3 +10,11 @@ WINDOWS Ansible role to create a little base Setup for my Ansible Managed Window
|
|||
+ **Pass or gopass** is required to store passwords.
|
||||
+ See [ansible docs](https://docs.ansible.com/ansible/latest/collections/community/general/passwordstore_lookup.html)
|
||||
+ Have a password store setup. Either create a symlink from pass to gopass or use pass nativly.
|
||||
|
||||
What this role does:
|
||||
---------------------
|
||||
|
||||
+ Optionally setting OS description, owner and org if you define them in these variables:
|
||||
- ``win_base_init__os_description: ''``
|
||||
- ``win_base_init__os_organization: ''``
|
||||
- ``win_base_init__os_owner: ''``
|
||||
|
|
|
@ -5,3 +5,7 @@ win_base_init__packages:
|
|||
- Firefox
|
||||
- mpvio
|
||||
- vlc
|
||||
|
||||
win_base_init__os_description: ''
|
||||
win_base_init__os_organization: ''
|
||||
win_base_init__os_owner: ''
|
||||
|
|
6
tasks/description.yml
Normal file
6
tasks/description.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
- name: Set Windows description, owner and organization
|
||||
community.windows.win_computer_description:
|
||||
description: "{{ win_base_init__os_description }}"
|
||||
owner: "{{ win_base_init__os_owner }}"
|
||||
organization: "{{ win_base_init__os_organization }}"
|
|
@ -8,6 +8,9 @@
|
|||
- name: configure hostname
|
||||
ansible.builtin.include_tasks: hostname.yml
|
||||
|
||||
- name: configure OS description
|
||||
ansible.builtin.include_tasks: description.yml
|
||||
|
||||
- name: install some useful packages
|
||||
ansible.builtin.include_tasks: packages.yml
|
||||
|
||||
|
|
Loading…
Reference in a new issue