Skip to content

Commit

Permalink
Regenerating snakeoil certificates bsed on new hostname for Ubuntu & …
Browse files Browse the repository at this point in the history
…kali in `os_configuration` role
  • Loading branch information
AllRWeak authored and at3rva committed Nov 8, 2023
1 parent f3b8f98 commit b055adf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nova/core/roles/os_configuration/tasks/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@
delay: 10
when: os_configuration_wait_for_site

- name: Regenerating Snakeoil certificates...
ansible.builtin.command: make-ssl-cert generate-default-snakeoil --force-overwrite
when: ansible_distribution in ['Ubuntu', 'Kali']

- name: Regenerating machine-id & host ssh keys...
ansible.builtin.shell: "{{ lookup('template', 'regenerate-machine-id.sh') }}"
args:
Expand Down

0 comments on commit b055adf

Please sign in to comment.