32 lines
1.2 KiB
YAML
32 lines
1.2 KiB
YAML
---
|
|
- name: install dnf applications
|
|
become: yes
|
|
become_user: root
|
|
become_method: sudo
|
|
dnf:
|
|
name: ShellCheck,alien,automake,awscli,bison,clang,cmake,curl,direnv,elfutils-libelf-devel,emacs,fakeroot,flex,fzf,gcc,gcc-c++,git,htop,httpie,jq,kernel-devel,libaio-devel,libblkid-devel,libffi-devel,libtirpc-devel,libtool,libudev-devel,libuuid-devel,libvirt-daemon-kvm,llvm,llvm-devel,llvm10,lsd,make,man-pages,most,nodejs,npm,openssh,openssh-clients,openssl-devel,openssl-perl,perl-FindBin,podman,qemu-kvm,skopeo,sqlite,sqlite-devel,tmux,uuid-devel,vim,which,zlib-devel
|
|
state: present
|
|
|
|
- name: add google-cloud-sdk repository
|
|
become: yes
|
|
become_user: root
|
|
become_method: sudo
|
|
ansible.builtin.yum_repository:
|
|
name: google-cloud-sdk.repo
|
|
description: Google Cloud SDK
|
|
baseurl: https://packages.cloud.google.com/yum/repos/cloud-sdk-el7-x86_64
|
|
enabled: true
|
|
gpgcheck: yes
|
|
repo_gpgcheck: no
|
|
gpgkey:
|
|
- https://packages.cloud.google.com/yum/doc/yum-key.gpg
|
|
- https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
|
|
|
|
- name: install google-cloud-sdk
|
|
become: yes
|
|
become_user: root
|
|
become_method: sudo
|
|
dnf:
|
|
name: google-cloud-sdk
|
|
state: present
|