Moved host definition into inventory

This commit is contained in:
2020-01-03 16:51:44 +01:00
parent 6a28f054c5
commit bea127aa2a
2 changed files with 3 additions and 5 deletions
+2
View File
@@ -0,0 +1,2 @@
[vps]
vps123456.ovh.net
+1 -5
View File
@@ -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