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