Skip to content

Commit

Permalink
setup "dns" using forklift's etc_hosts role
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Nov 19, 2024
1 parent 2527c57 commit d9c6a35
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
exclude_paths:
- .github/
- forklift/
8 changes: 8 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: theforeman/forklift
path: forklift
- name: Run ansible-lint
uses: ansible/ansible-lint@main
with:
Expand All @@ -33,6 +37,10 @@ jobs:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: theforeman/forklift
path: forklift
- name: Set up Python
uses: actions/setup-python@v5
with:
Expand Down
2 changes: 1 addition & 1 deletion ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ host_key_checking = False
inventory = vagrant.py
stdout_callback=debug
stderr_callback=debug
roles_path = ~/.ansible/roles:./roles
roles_path = ~/.ansible/roles:./roles:./forklift/roles
6 changes: 6 additions & 0 deletions playbooks/setup.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
---
- name: Setup basic stuff
hosts: all
become: true
roles:
- etc_hosts

- name: Setup quadlet demo machine
hosts:
- quadlet
Expand Down

0 comments on commit d9c6a35

Please sign in to comment.