creating first admin and update restrictions for ordinary users

This commit is contained in:
2026-03-04 17:06:43 +03:00
parent 08e48aac29
commit ea06c16aac
16 changed files with 128 additions and 58 deletions

View File

@@ -31,11 +31,6 @@
group: root
mode: '0600'
- name: Download nginx
shell: wget -O /opt/infra/nginx.yaml "{{ URL for docker-compose nginx }}" #перенести докер в pipeline и выкачать страницы для запуска с созданием loacations в nginx
args:
creates: /opt/infra/nginx.yaml
- name: Download node-docker.yaml
shell: wget -O /opt/infra/node-docker.yaml "{{ gitea_instance_url }}"
args:
@@ -43,6 +38,3 @@
- name: Start node-docker
shell: docker-compose -f /opt/infra/node-docker.yaml up -d
- name: Start nginx
shell: docker-compose -f /opt/infra/nginx.yaml up -d

2
ansible/inventory.ini Normal file
View File

@@ -0,0 +1,2 @@
[servers]
myserver ansible_host=38.244.136.102 ansible_user=root

View File

@@ -1,2 +0,0 @@
[servers]
myserver host=... ansible_user=...

1
ansible/secrets.yml Normal file
View File

@@ -0,0 +1 @@
gitea_instance_url: https://git.homyk.space/MH.Dmitrii/wedding-site/src/branch/main/docker/gitea_runners.git

View File

@@ -1 +0,0 @@
gitea_instance_url: ...