Files
ansible-role-auth-duo/tasks/duo-repo.yml
Aaron Guise 3c9ca51900
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test/2 Pipeline failed
ci/woodpecker/push/test/1 Pipeline failed
ci/woodpecker/push/z.ntfy unknown status
ci/woodpecker/cron/cron/2 Pipeline failed
ci/woodpecker/cron/cron/1 Pipeline failed
ci/woodpecker/cron/cron/4 Pipeline failed
ci/woodpecker/cron/cron/3 Pipeline failed
ci/woodpecker/cron/z.cron-ntfy unknown status
ci/woodpecker/cron/z.failed-cron-ntfy Pipeline was successful
fix: Added GPG key to role
2024-06-07 13:18:36 +12:00

21 lines
468 B
YAML

---
- name: Copy GPG Key to node
copy:
dest: /tmp/DUO-GPG-PUBLIC-KEY.asc
src: DUO-GPG-PUBLIC-KEY.asc
- name: Ensure Duo GPG Key is installed
rpm_key:
key: /tmp/DUO-GPG-PUBLIC-KEY.asc
state: present
- name: Ensure key removed from /tmp
file:
path: /tmp/DUO-GPG-PUBLIC-KEY.asc
state: absent
- name: Ensure duo repository is present
template:
src: etc.yum.repos.d.duosecurity.j2
dest: /etc/yum.repos.d/duosecurity.repo