Skip to content

Instantly share code, notes, and snippets.

@fdeantoni
Created December 2, 2021 01:45
Show Gist options
  • Save fdeantoni/148b354598fb50ae50b141fdf3cb5131 to your computer and use it in GitHub Desktop.
Save fdeantoni/148b354598fb50ae50b141fdf3cb5131 to your computer and use it in GitHub Desktop.
#!/bin/bash
ansible -i hosts nodes -b -m copy -a "src=certs/registry.crt dest=/usr/local/share/ca-certificates/registry.crt"
ansible -i hosts nodes -b -m shell -a "update-ca-certificates"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment