This repository has been archived on 2021-09-08. You can view files and clone it, but cannot push or open issues/pull-requests.
localdev-playbooks/dnf.yml

32 lines
1.3 KiB
YAML

---
- name: install dnf applications
become: yes
become_user: root
become_method: sudo
dnf:
name: ShellCheck,alien,automake,awscli,bash-completion,bison,clang,cmake,curl,direnv,elfutils-libelf-devel,emacs,fakeroot,flex,fzf,gcc,gcc-c++,git,glances,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,moreutils,most,nodejs,npm,openssh,openssh-clients,openssl-devel,openssl-perl,perl-FindBin,podman,podman-compose,qemu-kvm,skopeo,sqlite,sqlite-devel,the_silver_searcher,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