DebOps: Difference between revisions

add byline
m Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
Tags: Mobile edit Mobile web edit
 
Line 35: Line 35:
To [https://docs.debops.org/en/latest/ansible/roles/debops.bootstrap/getting-started.html bootstrap] my first host, I ran <tt>debops bootstrap -u root --limit labs</tt>, but it would fail on <tt>'/usr/bin/python: not found'</tt> <ref>https://github.com/debops/debops/issues/1002</ref>.  By specifying that the remote host should use python3, it succeeded.
To [https://docs.debops.org/en/latest/ansible/roles/debops.bootstrap/getting-started.html bootstrap] my first host, I ran <tt>debops bootstrap -u root --limit labs</tt>, but it would fail on <tt>'/usr/bin/python: not found'</tt> <ref>https://github.com/debops/debops/issues/1002</ref>.  By specifying that the remote host should use python3, it succeeded.


<source lang=ini>
<syntaxhighlight lang=ini>
[all:vars]
[all:vars]
ansible_python_interpreter='/usr/bin/env python3'
ansible_python_interpreter='/usr/bin/env python3'
Line 43: Line 43:
# greg-desk ansible_connection=local
# greg-desk ansible_connection=local
labs ansible_ssh_host=labs.qualitybox.us
labs ansible_ssh_host=labs.qualitybox.us
</source>
</syntaxhighlight>


Next, I ran the common playbook with <tt>debops common -u root --limit labs</tt>, but that failed trying to download some secrets (error message below). Re-running the command succeeded. Common includes apt_install <ref>https://docs.debops.org/en/latest/ansible/roles/debops.apt_install/getting-started.html#example-playbook</ref>, so all my packages were installed via common.
Next, I ran the common playbook with <tt>debops common -u root --limit labs</tt>, but that failed trying to download some secrets (error message below). Re-running the command succeeded. Common includes apt_install <ref>https://docs.debops.org/en/latest/ansible/roles/debops.apt_install/getting-started.html#example-playbook</ref>, so all my packages were installed via common.