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 - 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: |

View File

@ -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

View File

@ -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`

View File

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