-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Ansible Tasks to Configured Server #115
Comments
The MXHX project would be a good example to start with on this. The haproxy changes are described in this issue, but I can help organize this if needed. |
Here is how I envision the process from the Super.Human.Installer UI, based on today's discussion:
|
For the most part yea that looks right, here is more what I would expect for us internally to share projects $NAMESPACE = custom |
Mark wrote: To run an Ansible playbook locally, follow these concise steps: Install Ansible on your local machine. Create a simple inventory file (e.g., hosts) with: Run the playbook with: This executes the playbook on your local machine without SSH, using the local connection type. |
Mark said all S.H.I. VMs already have Ansible installed, so you can ignore the "Install Ansible on your local machine." line above. |
Mark clarified these commands need to happen INSIDE the S.H.I. VM so SSH into it first: Create a simple inventory file (e.g., hosts) with: Run the playbook with: |
The "hosts" file referenced above you can really think of as more like "ansible_hosts" and is NOT related to /etc/hosts in the S.H.I. VM. |
The example command above didn't work without creating an inventory ( Create playbook.yml with these contents. Note that
Then run:
Note that this gives a warning about localhost. We may be able to fix it with this setting. Note that this does not reuse anything from the SHI provisioners. |
From @JustinProminic
So, for example, the recent Nomad link update development might have looked like this:
vagrant provision
to install the updatevagrant provision
to apply the changesvagrant provision
to get to apply the update.Some potential problems:
@MarkProminic, we could use some help getting started with this when you have some time:
@piotrzarzycki21, you can work on the UI for this once we have a plan of how to handle this on the Ansible side.
The text was updated successfully, but these errors were encountered: