Skip to content

Commit

Permalink
Fix ansible problem
Browse files Browse the repository at this point in the history
  • Loading branch information
cYKatherine committed Jun 20, 2024
1 parent 1ffc9c0 commit 68a5242
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions scripts/aws/uid2-operator-ami/ansible/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@
update_cache: yes
name: '*'
state: latest
use_backend: dnf4

- name: Install Netcat
ansible.builtin.yum:
name: nmap-ncat
state: latest
use_backend: dnf4

- name: Create etc/uid2operator directory
ansible.builtin.file:
Expand Down Expand Up @@ -140,11 +142,13 @@
ansible.builtin.yum:
name: ivykis-0.36.2-2.el7
state: present
use_backend: dnf4

- name: Install libnet
ansible.builtin.yum:
name: libnet-1.1.6-7.amzn2.0.2
state: present
use_backend: dnf4

- name: Register Public key
ansible.builtin.command: rpmkeys --import /opt/uid2operator/syslog-ng-pubkey.gpg
Expand Down
2 changes: 1 addition & 1 deletion scripts/aws/uid2-operator-ami/build.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build {

provisioner "ansible" {
playbook_file = "./ansible/playbook.yml"
extra_arguments = [ "--scp-extra-args", "'-O'", "--version", "9.6.1" ]
extra_arguments = [ "--scp-extra-args", "'-O'" ]
}

post-processor "manifest" {
Expand Down

0 comments on commit 68a5242

Please sign in to comment.