Browse Source

* 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
master
dimti 9 months ago
parent
commit
452d5cca79
  1. 1
      hosts
  2. 1
      playbooks/own/yadm.yml
  3. 1
      run-playbook.sh

1
hosts

@ -11,6 +11,7 @@
[lxc_templates]
#debian10 ansible_host=debian10.dedic106-dhcp.dimti.ru ansible_user=root
#debian10 ansible_host='{{ lxc_host }}' ansible_port=22230
debian10 ansible_host='{{ lxc_host }}'
[anygroup]

1
playbooks/own/yadm.yml

@ -3,4 +3,3 @@
tasks:
- name: Clone dotfiles repo
shell: yadm clone --bootstrap https://vcs.wpstudio.ru/gitea/dotfiles.git
# TODO: убрать sudo для автовключения тмукса из .bashrc

1
run-playbook.sh

@ -14,6 +14,7 @@ usage() {
echo "Usage: run-vps-playbook.sh server playbook"
echo "server - domain or ip address of the vps server"
echo "playbook - playbook file"
echo "[user] - if choose the use it, otherwise used root"
}
if [[ -z "$SERVER" ]]; then

Loading…
Cancel
Save