Remove unneeded inventory file

This commit is contained in:
Antony Messerli 2024-11-11 22:32:26 -06:00
parent c0fcda76b6
commit bb48e64ebb
4 changed files with 5 additions and 6 deletions

View File

@ -25,7 +25,7 @@ jobs:
- name: Syntax Check
run: |
ansible-playbook -i inventory site.yml --syntax-check
ansible-playbook site.yml --syntax-check
- name: Ansible lint
run: |

View File

@ -15,7 +15,7 @@ FROM netbootxyz-${NBXYZ_OVERRIDES} AS final
RUN \
echo "**** running ansible ****" && \
cd /ansible && \
ansible-playbook -i inventory site.yml ${EXTRA_VARS}
ansible-playbook site.yml ${EXTRA_VARS}
# runtime stage
FROM alpine:latest

View File

@ -90,7 +90,7 @@ Please see the [self-hosting docs](https://netboot.xyz/docs/selfhosting/) for mo
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.
@ -98,8 +98,8 @@ The build output will be located in /var/www/html by default.
#### Deploying with Docker
```
docker build -t localbuild -f Dockerfile .
docker run --rm -it -v $(pwd):/buildout localbuild
docker build -t localbuild --platform=linux/amd64 -f Dockerfile .
docker run --rm -it --platform=linux/amd64 -v $(pwd):/buildout localbuild
```
The build output will be in the generated folder `buildout`

View File

@ -1 +0,0 @@
localhost ansible_connection=local