mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2025-08-07 06:16:58 +02:00
Remove unneeded inventory file
This commit is contained in:
parent
c0fcda76b6
commit
bb48e64ebb
2
.github/workflows/pull-requests.yml
vendored
2
.github/workflows/pull-requests.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Syntax Check
|
- name: Syntax Check
|
||||||
run: |
|
run: |
|
||||||
ansible-playbook -i inventory site.yml --syntax-check
|
ansible-playbook site.yml --syntax-check
|
||||||
|
|
||||||
- name: Ansible lint
|
- name: Ansible lint
|
||||||
run: |
|
run: |
|
||||||
|
@ -15,7 +15,7 @@ FROM netbootxyz-${NBXYZ_OVERRIDES} AS final
|
|||||||
RUN \
|
RUN \
|
||||||
echo "**** running ansible ****" && \
|
echo "**** running ansible ****" && \
|
||||||
cd /ansible && \
|
cd /ansible && \
|
||||||
ansible-playbook -i inventory site.yml ${EXTRA_VARS}
|
ansible-playbook site.yml ${EXTRA_VARS}
|
||||||
|
|
||||||
# runtime stage
|
# runtime stage
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
@ -90,7 +90,7 @@ Please see the [self-hosting docs](https://netboot.xyz/docs/selfhosting/) for mo
|
|||||||
To generate, run:
|
To generate, run:
|
||||||
|
|
||||||
```
|
```
|
||||||
ansible-playbook -i inventory site.yml
|
ansible-playbook site.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
The build output will be located in /var/www/html by default.
|
The build output will be located in /var/www/html by default.
|
||||||
@ -98,8 +98,8 @@ The build output will be located in /var/www/html by default.
|
|||||||
#### Deploying with Docker
|
#### Deploying with Docker
|
||||||
|
|
||||||
```
|
```
|
||||||
docker build -t localbuild -f Dockerfile .
|
docker build -t localbuild --platform=linux/amd64 -f Dockerfile .
|
||||||
docker run --rm -it -v $(pwd):/buildout localbuild
|
docker run --rm -it --platform=linux/amd64 -v $(pwd):/buildout localbuild
|
||||||
```
|
```
|
||||||
|
|
||||||
The build output will be in the generated folder `buildout`
|
The build output will be in the generated folder `buildout`
|
||||||
|
Loading…
Reference in New Issue
Block a user