* usage shared run playbook script extended with user doc
* example with alternate ssh port * remove todo from yadm, because that is realized in dotfiles repo
This commit is contained in:
1
hosts
1
hosts
@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
[lxc_templates]
|
[lxc_templates]
|
||||||
#debian10 ansible_host=debian10.dedic106-dhcp.dimti.ru ansible_user=root
|
#debian10 ansible_host=debian10.dedic106-dhcp.dimti.ru ansible_user=root
|
||||||
|
#debian10 ansible_host='{{ lxc_host }}' ansible_port=22230
|
||||||
debian10 ansible_host='{{ lxc_host }}'
|
debian10 ansible_host='{{ lxc_host }}'
|
||||||
|
|
||||||
[anygroup]
|
[anygroup]
|
||||||
|
@ -3,4 +3,3 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Clone dotfiles repo
|
- name: Clone dotfiles repo
|
||||||
shell: yadm clone --bootstrap https://vcs.wpstudio.ru/gitea/dotfiles.git
|
shell: yadm clone --bootstrap https://vcs.wpstudio.ru/gitea/dotfiles.git
|
||||||
# TODO: убрать sudo для автовключения тмукса из .bashrc
|
|
||||||
|
@ -14,6 +14,7 @@ usage() {
|
|||||||
echo "Usage: run-vps-playbook.sh server playbook"
|
echo "Usage: run-vps-playbook.sh server playbook"
|
||||||
echo "server - domain or ip address of the vps server"
|
echo "server - domain or ip address of the vps server"
|
||||||
echo "playbook - playbook file"
|
echo "playbook - playbook file"
|
||||||
|
echo "[user] - if choose the use it, otherwise used root"
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ -z "$SERVER" ]]; then
|
if [[ -z "$SERVER" ]]; then
|
||||||
|
Reference in New Issue
Block a user