diff --git a/hosts b/hosts index a55e9c4..b8d5c21 100644 --- a/hosts +++ b/hosts @@ -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 diff --git a/linsetup.yml b/linsetup.yml new file mode 100644 index 0000000..553f407 --- /dev/null +++ b/linsetup.yml @@ -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