creating first admin and update restrictions for ordinary users
This commit is contained in:
@@ -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
2
ansible/inventory.ini
Normal file
@@ -0,0 +1,2 @@
|
||||
[servers]
|
||||
myserver ansible_host=38.244.136.102 ansible_user=root
|
||||
@@ -1,2 +0,0 @@
|
||||
[servers]
|
||||
myserver host=... ansible_user=...
|
||||
1
ansible/secrets.yml
Normal file
1
ansible/secrets.yml
Normal file
@@ -0,0 +1 @@
|
||||
gitea_instance_url: https://git.homyk.space/MH.Dmitrii/wedding-site/src/branch/main/docker/gitea_runners.git
|
||||
@@ -1 +0,0 @@
|
||||
gitea_instance_url: ...
|
||||
Reference in New Issue
Block a user