Skip to content

Commit

Permalink
commented
Browse files Browse the repository at this point in the history
  • Loading branch information
felbinger committed Aug 26, 2023
1 parent 9aae6e6 commit b9e9010
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/gitops.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,9 @@ jobs:
git submodule update
ansible-galaxy collection install hetzner.hcloud
/opt/pipx/venvs/ansible-core/bin/python -m pip install -r requirements.txt
pip3 freeze
# not quiet sure why, but we need this package in this python environment
pip3 install python-dateutil
pip3 freeze
- name: Run ansible inventory in check mode
if: |
Expand Down
2 changes: 1 addition & 1 deletion tasks/hetzner-cloud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
register: ssh_key_check
run_once: true

- name: "Generate new SSH key if not present"
- name: "Generate new ssh key if not present"
ansible.builtin.command: ssh-keygen -t ecdsa -b 384 -C "ansible@localhost" -N "" -f ".keys/id_ecdsa"
when: not ssh_key_check.stat.exists
run_once: true
Expand Down

0 comments on commit b9e9010

Please sign in to comment.