Skip to content

Commit

Permalink
Remove unneeded inventory file
Browse files Browse the repository at this point in the history
  • Loading branch information
antonym committed Nov 12, 2024
1 parent c0fcda7 commit bb48e64
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,16 @@ 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.

#### 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`
Expand Down
1 change: 0 additions & 1 deletion inventory

This file was deleted.

0 comments on commit bb48e64

Please sign in to comment.