diff --git a/play-10-base.yml b/play-10-base.yml index fbc5ee8..6688565 100644 --- a/play-10-base.yml +++ b/play-10-base.yml @@ -3,4 +3,4 @@ gather_facts: false become: true roles: - - linux_base + - linux/base diff --git a/roles/linux/base/tasks/main.yml b/roles/linux/base/tasks/main.yml index 340c25e..7a5cb0c 100644 --- a/roles/linux/base/tasks/main.yml +++ b/roles/linux/base/tasks/main.yml @@ -1,5 +1,11 @@ --- # base config +- name: Oracle EPEL repo + dnf: + state: present + name: oracle-epel-release-el8 + when: ansible_os_family == "RedHat" and ansible_distribution == "OracleLinux" + - name: basic tools package: state: present diff --git a/vm_templates.yml b/vm_templates.yml index edd42b5..493e5c2 100644 --- a/vm_templates.yml +++ b/vm_templates.yml @@ -8,3 +8,12 @@ vm_templates: checksum: sha1:fc08ad81a893b8253ec3bf6e25273cbb4fc8eafb filename: fedora-34.qcow2 url: https://download.fedoraproject.org/pub/fedora/linux/releases/34/Cloud/x86_64/images/Fedora-Cloud-Base-34-1.2.x86_64.qcow2 +# oracle_84: +# host: localhost +# cpus: 1 +# ram: 2048 +# hdd: 40g +# image: +# checksum: +# filename: oracle-84.qcow2 +# url: https://yum.oracle.com/templates/OracleLinux/OL8/u4/x86_64/OL8U4_x86_64-olvm-b85.qcow2