File tree Expand file tree Collapse file tree 3 files changed +42
-1
lines changed Expand file tree Collapse file tree 3 files changed +42
-1
lines changed Original file line number Diff line number Diff line change 316316 install_type : " {{ ocne_type if ocne_type is defined else (lookup('file', 'default_vars.yml') | from_yaml).ocne_type | default('none') }}"
317317 ansible.builtin.import_playbook : " deploy_ocne_{{ install_type }}.yml"
318318
319+ - name : Provision Podman and Container Tools
320+ ansible.builtin.import_playbook : provision_podman.yml
321+ when : use_podman
322+
319323- name : Print instances
320324 hosts : all
321325 become : true
Original file line number Diff line number Diff line change @@ -30,4 +30,5 @@ num_cp_nodes: 3
3030num_wk_nodes : 3
3131update_all : false
3232# oci_yum_region: ".uk-london-1"
33- use_fss : false
33+ use_fss : false
34+ use_podman : false
Original file line number Diff line number Diff line change 1+ ---
2+ # Copyright (c) 2024 Oracle and/or its affiliates.
3+ # This software is made available to you under the terms of the Universal Permissive License (UPL), Version 1.0.
4+ # The Universal Permissive License (UPL), Version 1.0 (see COPYING or https://oss.oracle.com/licenses/upl)
5+ # See LICENSE.TXT for details.
6+
7+ - name : Install Podman and Container Tools
8+ hosts : server
9+ vars_files :
10+ - default_vars.yml
11+ become : true
12+
13+ tasks :
14+
15+ - name : Install Oracle Linux 8 container tools packages
16+ ansible.builtin.dnf :
17+ name :
18+ - " @container-tools:ol8"
19+ - conntrack
20+ - curl
21+ state : present
22+ when : ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '8'
23+ retries : 5
24+ delay : 10
25+
26+ - name : Install Oracle Linux 9 container tools packages
27+ ansible.builtin.dnf :
28+ name :
29+ - podman
30+ - podman-docker
31+ - conntrack
32+ - curl
33+ state : present
34+ when : ansible_distribution == 'OracleLinux' and ansible_distribution_major_version == '9'
35+ retries : 5
36+ delay : 10
You can’t perform that action at this time.
0 commit comments