mirror of
https://github.com/ublue-os/forge.git
synced 2025-07-06 01:35:45 +03:00
feat: automatically setup forge (#10)
This commit is contained in:
parent
c694947618
commit
bbe78ee922
28 changed files with 1472 additions and 0 deletions
11
setup/ansible/roles/semaphore/tasks/authentication.yml
Normal file
11
setup/ansible/roles/semaphore/tasks/authentication.yml
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
- name: Get API token
|
||||
ansible.builtin.uri:
|
||||
url: "http://{{ ansible_host }}:3000/api/auth/login"
|
||||
method: POST
|
||||
body:
|
||||
auth: "{{ semaphore_admin_user }}"
|
||||
password: "{{ semaphore_admin_password }}"
|
||||
body_format: json
|
||||
status_code: 204
|
||||
register: semaphore_login
|
Loading…
Add table
Add a link
Reference in a new issue