Skip to content

Commit

Permalink
Define cut down version of syslog-ng
Browse files Browse the repository at this point in the history
  • Loading branch information
cYKatherine committed Jun 26, 2024
1 parent 663baad commit 6db0cb7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 16 deletions.
10 changes: 10 additions & 0 deletions scripts/aws/syslog-ng/server/syslog-ng-amazon23.repo
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[copr:copr.fedorainfracloud.org:czanik:syslog-ng-amazon23]
name=Copr repo for syslog-ng-amazon23 owned by czanik
baseurl=https://download.copr.fedorainfracloud.org/results/czanik/syslog-ng-amazon23/amazonlinux-2023-$basearch/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://download.copr.fedorainfracloud.org/results/czanik/syslog-ng-amazon23/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1
25 changes: 9 additions & 16 deletions scripts/aws/uid2-operator-ami/ansible/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,24 +140,17 @@
# ansible.builtin.systemd:
# name: nitro-enclaves-allocator.service
# state: restarted
- name: Install ivykis
ansible.builtin.dnf:
name: ivykis-0.36.2-2.el7
state: present

- name: Install libnet
ansible.builtin.dnf:
name: libnet-1.1.6-7.amzn2.0.2
state: present

- name: Register Public key
ansible.builtin.command: rpmkeys --import /opt/uid2operator/syslog-ng-pubkey.gpg

- name: Install package
ansible.builtin.command: rpm -U /opt/uid2operator/syslog-ng-4.6.0-1.el7.x86_64.rpm
- name: Define cutdown version of syslog-ng
ansible.builtin.copy:
src: /tmp/artifacts/syslog-ng-amazon23.repo
dest: /etc/yum.repos.d/
remote_src: yes

- name: unregister Public key
ansible.builtin.command: rpm -e gpg-pubkey-c57846f4-65a8cf14
- name: Install syslog-ng
ansible.builtin.dnf:
name: syslog-ng
state: latest

- name: syslog-ng config
ansible.builtin.copy:
Expand Down

0 comments on commit 6db0cb7

Please sign in to comment.