-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Remove git playbooks requirement #327
Comments
What is the version, environment and error message?
…On 19 Apr 2017 23:03, "jasonculligan" ***@***.***> wrote:
I try to create a playbook, for example to run apt-get update on some
servers, but I cannot access any part of semaphore that will allow me to
create this playbook.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#327>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AAwrqIPWqO61vGYYJWxhdm_-osqW8_LHks5rxoS7gaJpZM4NCTKs>
.
|
v2.3, Ubuntu 16.04 LTS 64bit. No error specifically but I cannot locate where to enter the contents of my playbook. |
You need to already have a playbook and have it in a local directory or git
repository to use semaphore
Semaphore is simply a UI to wrap command line ansible-playbook
…On 19 Apr 2017 23:14, "jasonculligan" ***@***.***> wrote:
v2.3, Ubuntu 16.04 LTS 64bit. No error specifically but I cannot locate
where to enter the contents of my playbook.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#327 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAwrqEK04fRWZCboxH-3bIk4jKSGLiivks5rxoddgaJpZM4NCTKs>
.
|
ok - so for "Playbook repository" in "Templates" I can enter /etc/ansible/playbooks (where I will keep playbooks), and I need to have "/etc/ansible/playbooks/playbook.yml" present before I can config playbook.yml as the "Playbook name" in the "templates"? |
For the most basic template, with a local git directory:
|
I'm missing the git part. I don't use git to store my playbooks, just plain .yml files. Is this mandatory for semaphore? |
Unfortunately it is, you could just use a local git server.. example:
now point semaphore to I know why this is a pain, fortunately we can make this easier ;) |
While this is irrelevant to your post, you really should manage your playbooks with Git. The drawback I find is when testing these playbooks. As I work in a windows environment, I have to change -> commit -> push -> run. |
i have done the above steps but still getting below error automation@auhdcvhiste02:/opt/project/playbooks$ sudo git push origin master
error: 11:43:02 AM |
Hi @raja24790 what you want to do? |
I want to use my local repository which i have made in /opt/project/playbooks. But I am not able to configure it in semaphore. I tried every method mentioned. I did all this also create a git repogit init && git add --all && git commit -m "fc" create server git repomkdir -p /tmp/my_git.git && cd /tmp/my_git.git init repositorygit init --bare go back to original foldercd - add local origingit remote add origin /tmp/my_git.git push to local foldergit push origin master Then i added path in repository as /tmp/my_git.git but yet it is giving the error "Failed in finding static repository at /tmp/my_git.git: stat /tmp/my_git.git: no such file or directory Could you please share detailed steps. Thanks in advance. |
I try to create a playbook, for example to run apt-get update on some servers, but I cannot access any part of semaphore that will allow me to create this playbook.
The text was updated successfully, but these errors were encountered: