Moved host definition into inventory
This commit is contained in:
parent
6a28f054c5
commit
bea127aa2a
|
@ -0,0 +1,2 @@
|
|||
[vps]
|
||||
vps123456.ovh.net
|
|
@ -3,12 +3,8 @@
|
|||
gather_facts: false
|
||||
port: 22
|
||||
remote_user: root
|
||||
hosts:
|
||||
- "{{ target }}"
|
||||
hosts: vps
|
||||
vars_prompt:
|
||||
- name: target
|
||||
prompt: "Domain of the machine to set up"
|
||||
private: no
|
||||
- name: new_root_pw
|
||||
prompt: "What should be the new root password?"
|
||||
private: yes
|
||||
|
|
Loading…
Reference in New Issue