Popravljene spremenljivke za linux install

This commit is contained in:
polz 2023-09-08 23:29:55 +02:00
parent c876181b17
commit fa0f568382
2 changed files with 16 additions and 3 deletions

10
hosts
View file

@ -1,6 +1,10 @@
all:
children:
classroom:
winclassroom:
hosts:
prototip:
ansible_host: 10.32.231.3
ucilnice-krototip:
ansible_host: 10.32.230.66
linclassroom:
hosts:
ucilnice-prototip:
ansible_host: 10.32.230.66

9
linsetup.yml Normal file
View file

@ -0,0 +1,9 @@
- hosts: ucilnice-prototip
become_method: sudo
become: true
vars:
ansible_port: 1001
ansible_become_pass: '{{ lookup("env", "ANSIBLE_PASSWORD") }}'
ansible_password: '{{ lookup("env", "ANSIBLE_PASSWORD") }}'
roles:
- linroom