Skip to content

Commit

Permalink
ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
james-otten committed Dec 26, 2024
1 parent 0cb8cd7 commit 42aca5c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_ntp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
python-version: '3.11'

- name: Setup ansible
run: pip install ansible && export PATH="$HOME/.local/bin:$PATH" && ansible-galaxy collection install cloud.terraform && ansible-galaxy collection install datadog.dd
run: pip install ansible && export PATH="$HOME/.local/bin:$PATH" && ansible-galaxy collection install -r ansible/roles/requiremetns.yaml

- name: Setup Terraform with specified version on the runner
uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8 # @v3
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
data/
data/
.vscode/
4 changes: 4 additions & 0 deletions ansible/roles/chrony_server/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
- bird2
- chrony

- name: Import the ssh_config role from the nycmesh.common collection
ansible.builtin.import_role:
name: nycmesh.common.ssh_config

- name: Bird systemd unit
ansible.builtin.copy:
src: bird.service
Expand Down
6 changes: 6 additions & 0 deletions ansible/roles/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,9 @@
collections:
- name: datadog.dd
version: 5.8.0
- name: cloud.terraform
version: 3.0.0
- name: nycmesh.common
source: git+https://github.com/nycmeshnet/nycmesh-ansible.git
type: git
version: james/init

0 comments on commit 42aca5c

Please sign in to comment.