mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-16 18:03:06 -06:00
Merged in ITPLT-3650-ansible-core-216 (pull request #212)
ITPLT-3650 ansible-core 2.16 Approved-by: Geoff Jacobs
This commit is contained in:
@@ -3,7 +3,7 @@ default_install_hook_types: [pre-commit, prepare-commit-msg]
|
|||||||
default_stages: [pre-commit]
|
default_stages: [pre-commit]
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.5.0
|
rev: v4.6.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-executables-have-shebangs
|
- id: check-executables-have-shebangs
|
||||||
- id: check-merge-conflict
|
- id: check-merge-conflict
|
||||||
@@ -12,21 +12,21 @@ repos:
|
|||||||
exclude: '(vault.yml.template|filter_catalina.yaml.j2)'
|
exclude: '(vault.yml.template|filter_catalina.yaml.j2)'
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- repo: https://github.com/avilaton/add-msg-issue-prefix-hook
|
- repo: https://github.com/avilaton/add-msg-issue-prefix-hook
|
||||||
rev: v0.0.9
|
rev: v0.0.11
|
||||||
hooks:
|
hooks:
|
||||||
- id: add-msg-issue-prefix
|
- id: add-msg-issue-prefix
|
||||||
args:
|
args:
|
||||||
- --template={}
|
- --template={}
|
||||||
- --pattern=[a-zA-Z0-9]{1,10}-[0-9]{1,6}
|
- --pattern=[a-zA-Z0-9]{1,10}-[0-9]{1,6}
|
||||||
- repo: https://github.com/ansible/ansible-lint.git
|
- repo: https://github.com/ansible/ansible-lint.git
|
||||||
rev: v6.12.2
|
rev: v24.2.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: ansible-lint
|
- id: ansible-lint
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
- .
|
- .
|
||||||
- ansible-core==2.13.10
|
- ansible-core==2.16.6
|
||||||
- jmespath
|
- jmespath
|
||||||
language_version: python3.8
|
language_version: python3.11
|
||||||
- repo: https://github.com/IamTheFij/ansible-pre-commit.git
|
- repo: https://github.com/IamTheFij/ansible-pre-commit.git
|
||||||
rev: v0.1.2
|
rev: v0.1.2
|
||||||
hooks:
|
hooks:
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
You should have the following software installed:
|
You should have the following software installed:
|
||||||
* Python; 3.8 or newer
|
* Python; 3.10 or newer (you may also need the Python development packages depending on how it’s installed)
|
||||||
* You may also need the Python development packages depending on how it’s installed
|
|
||||||
* Note that the runtime still requires Python 2 for certain tasks on Amazon Linux 2, but is not necessary for local development
|
|
||||||
* Python Virtualenv
|
* Python Virtualenv
|
||||||
* Docker
|
* Docker
|
||||||
* Cloudtoken
|
* Cloudtoken
|
||||||
@@ -19,24 +17,22 @@ All other requirements will be installed under Virtualenv.
|
|||||||
### Step 1.2: Install development environment dependencies
|
### Step 1.2: Install development environment dependencies
|
||||||
|
|
||||||
To ensure compatibility we specify a specific Ansible version; currently
|
To ensure compatibility we specify a specific Ansible version; currently
|
||||||
ansible-core 2.13.x. We do this with [Pipenv](https://docs.pipenv.org/) to lock
|
ansible-core 2.16.x. We do this with [Pipenv](https://docs.pipenv.org/) to lock
|
||||||
the dependency tree. There are 2 main ways to do this; either directly if
|
the dependency tree. There are 2 main ways to do this; either directly if
|
||||||
packaged, or via pip...
|
packaged, or via pip...
|
||||||
|
|
||||||
# Ubuntu 22.04+, Debian 11+
|
# Ubuntu 22.04+, Debian 12+
|
||||||
sudo apt-get install python3-dev python3-pip
|
sudo apt-get install python3-dev python3-pip pipenv
|
||||||
|
|
||||||
# Amazon Linux 2
|
# Amazon Linux 2023
|
||||||
sudo amazon-linux-extras enable python3.8
|
sudo dnf install python3.11 python3.11-pip python3.11-devel
|
||||||
sudo yum install python38 python38-pip python38-devel python-lxml
|
pip3.11 install pipenv
|
||||||
|
|
||||||
# Mac via Homebrew
|
# Mac via Homebrew
|
||||||
brew install libpq openssl@3 python@X.x # (where "X.x") is 3.8 or newer
|
brew install libpq openssl@3 python@X.x # (where "X.x") is 3.1 or newer
|
||||||
export PATH="/opt/homebrew/opt/libpq/bin:$PATH"
|
export PATH="/opt/homebrew/opt/libpq/bin:$PATH"
|
||||||
export LDFLAGS="-L/opt/homebrew/opt/openssl@3/lib"
|
export LDFLAGS="-L/opt/homebrew/opt/openssl@3/lib"
|
||||||
export CPPFLAGS="-I/opt/homebrew/opt/openssl@3/include"
|
export CPPFLAGS="-I/opt/homebrew/opt/openssl@3/include"
|
||||||
|
|
||||||
# Finally
|
|
||||||
pip3 install pipenv
|
pip3 install pipenv
|
||||||
|
|
||||||
### Step 1.3: Enter the development environment
|
### Step 1.3: Enter the development environment
|
||||||
@@ -62,7 +58,7 @@ when collections are installed via `ansible-galaxy`:
|
|||||||
|
|
||||||
[Molecule](https://molecule.readthedocs.io/en/stable/) is a testing framework for
|
[Molecule](https://molecule.readthedocs.io/en/stable/) is a testing framework for
|
||||||
Ansible. We use this to test the functionality of individual and groups of roles,
|
Ansible. We use this to test the functionality of individual and groups of roles,
|
||||||
and to ensure cross-platform compatibility (currently Amazon Linux 2 and Ubuntu LTS).
|
and to ensure cross-platform compatibility (currently Amazon Linux 2023 and Ubuntu LTS).
|
||||||
|
|
||||||
We’re going to check that the role that downloads the products works for both
|
We’re going to check that the role that downloads the products works for both
|
||||||
Jira Core and Confluence, on boths supported Linux distributions. So run the
|
Jira Core and Confluence, on boths supported Linux distributions. So run the
|
||||||
|
|||||||
19
Pipfile
19
Pipfile
@@ -4,18 +4,19 @@ verify_ssl = true
|
|||||||
name = "pypi"
|
name = "pypi"
|
||||||
|
|
||||||
[packages]
|
[packages]
|
||||||
ansible-core = "==2.13.10"
|
ansible-core = "==2.16.6"
|
||||||
cryptography = "==41.0.6"
|
cryptography = "==42.0.5"
|
||||||
boto3 = "==1.26.158"
|
boto3 = "==1.34.92"
|
||||||
botocore = "==1.29.158"
|
botocore = "==1.34.92"
|
||||||
lxml = "==4.9.2"
|
lxml = "==5.2.1"
|
||||||
psycopg2-binary = "==2.9.6"
|
psycopg2-binary = "==2.9.9"
|
||||||
|
|
||||||
[dev-packages]
|
[dev-packages]
|
||||||
molecule = "==4.0.4"
|
molecule = "==24.2.1"
|
||||||
molecule-docker = "==2.1.0"
|
molecule-docker = "==2.1.0"
|
||||||
ansible-compat = "==3.0.2"
|
molecule-plugins = {extras = ["docker"], version = "==23.5.3"}
|
||||||
docker = "==6.0.0"
|
ansible-compat = "==4.1.11"
|
||||||
|
docker = "==7.0.0"
|
||||||
pytest = "*"
|
pytest = "*"
|
||||||
pytest-testinfra = "*"
|
pytest-testinfra = "*"
|
||||||
|
|
||||||
|
|||||||
1538
Pipfile.lock
generated
1538
Pipfile.lock
generated
File diff suppressed because it is too large
Load Diff
14
README.md
14
README.md
@@ -61,6 +61,20 @@ them in the `Custom command-line parameters for Ansible` field:
|
|||||||
|
|
||||||
-e atl_product_download_url=http://s3.amazon.com/atlassian/jira-9.0.0-PRE-TEST.tar.gz -e atl_use_system_jdk=true -e atl_download_format=tarball
|
-e atl_product_download_url=http://s3.amazon.com/atlassian/jira-9.0.0-PRE-TEST.tar.gz -e atl_use_system_jdk=true -e atl_download_format=tarball
|
||||||
|
|
||||||
|
## Operating system/environment requirements
|
||||||
|
|
||||||
|
The roles in this repository currently target:
|
||||||
|
|
||||||
|
* Ansible-core 2.16
|
||||||
|
* Python >= 3.10 (as required by ansible-core 2.16)
|
||||||
|
* Amazon Linux 2023 and Debian 12+ (including derivatives, i.e., Ubuntu 22.04+) where the system-installable Python meets the above requirement
|
||||||
|
|
||||||
|
To use a previous version of this repository and the roles/playbooks within, your application nodes must clone/checkout
|
||||||
|
a previous commit that supports the desired OS and/or Ansible version. For instance, to continue using Ansible 2.13 on
|
||||||
|
Amazon Linux 2, use branch "ansible-core-2.13" and/or commit ID `e5af2cf649f72bb5c9d50d0057ddae4a5c99b6f9`. If using one
|
||||||
|
of the previously-provided AWS CloudFormation templates, you must set set the **Deployment Automation Branch** parameter
|
||||||
|
to "ansible-core-2.13" and/or manually set the stack's "pinned-ansible-sha" SSM Parameter to the referenced commit ID.
|
||||||
|
|
||||||
### Other customizable parameters
|
### Other customizable parameters
|
||||||
|
|
||||||
For more deployment customization options, consult the following files for parameters you can
|
For more deployment customization options, consult the following files for parameters you can
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
[defaults]
|
[defaults]
|
||||||
retry_files_enabled = False
|
retry_files_enabled = False
|
||||||
callbacks_enabled = profile_tasks
|
callbacks_enabled = profile_tasks
|
||||||
collections_paths = ./
|
collections_path = ./
|
||||||
|
|||||||
@@ -2,38 +2,31 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
PIP_BIN="pip3"
|
|
||||||
PIPENV_PYTHON="3"
|
PIPENV_PYTHON="3"
|
||||||
|
|
||||||
source /etc/os-release
|
source /etc/os-release
|
||||||
if [[ $ID = "amzn" ]] && [[ $VERSION = "2" ]]; then
|
if [[ $ID = "amzn" ]] && [[ $VERSION = "2" ]]; then
|
||||||
amazon-linux-extras enable python3.8
|
echo "Amazon Linux 2 is no longer supported; see README.md for supported operating systems/environments."
|
||||||
yum clean metadata
|
exit 1
|
||||||
yum install -y \
|
|
||||||
python2-pip \
|
|
||||||
python38 \
|
|
||||||
python38-pip \
|
|
||||||
python38-devel
|
|
||||||
elif [[ $ID = "amzn" ]] && [[ $VERSION = "2023" ]]; then
|
elif [[ $ID = "amzn" ]] && [[ $VERSION = "2023" ]]; then
|
||||||
dnf install -y \
|
dnf install -y \
|
||||||
python3.11 \
|
python3.11 \
|
||||||
python3.11-pip \
|
python3.11-pip \
|
||||||
python3.11-devel
|
python3.11-devel
|
||||||
PIP_BIN="pip3.11"
|
echo "Installing pipenv..."
|
||||||
|
pip3.11 install pipenv
|
||||||
PIPENV_PYTHON="3.11"
|
PIPENV_PYTHON="3.11"
|
||||||
else
|
else
|
||||||
# FIXME: Currently assumes Debian-based
|
# FIXME: Currently assumes Debian-based
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
python3-pip
|
python3-pip \
|
||||||
|
pipenv
|
||||||
fi
|
fi
|
||||||
export PATH=/usr/local/bin:$PATH
|
export PATH=/usr/local/bin:$PATH
|
||||||
export PIP_DEFAULT_TIMEOUT=60
|
export PIP_DEFAULT_TIMEOUT=60
|
||||||
|
|
||||||
echo "Installing pipenv..."
|
|
||||||
$PIP_BIN install pipenv
|
|
||||||
|
|
||||||
echo "Installing ansible and dependencies..."
|
echo "Installing ansible and dependencies..."
|
||||||
PIPENV_NOSPIN=1 PIPENV_HIDE_EMOJIS=1 pipenv --python $PIPENV_PYTHON sync 2>&1 | iconv -c -f utf-8 -t ascii
|
PIPENV_NOSPIN=1 PIPENV_HIDE_EMOJIS=1 pipenv --python $PIPENV_PYTHON sync 2>&1 | iconv -c -f utf-8 -t ascii
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
# make > ../bitbucket-pipelines.yml
|
# make > ../bitbucket-pipelines.yml
|
||||||
|
|
||||||
image: debian:bullseye
|
image: debian:bookworm
|
||||||
options:
|
options:
|
||||||
size: 2x
|
size: 2x
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
# make > ../bitbucket-pipelines.yml
|
# make > ../bitbucket-pipelines.yml
|
||||||
|
|
||||||
image: debian:bullseye
|
image: debian:bookworm
|
||||||
options:
|
options:
|
||||||
size: 2x
|
size: 2x
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
---
|
---
|
||||||
collections:
|
collections:
|
||||||
- name: amazon.aws
|
- name: amazon.aws
|
||||||
version: "6.1.0"
|
version: "7.5.0"
|
||||||
- name: ansible.posix
|
- name: ansible.posix
|
||||||
version: "1.5.4"
|
version: "1.5.4"
|
||||||
- name: community.docker
|
- name: community.docker
|
||||||
version: "3.4.8"
|
version: "3.9.0"
|
||||||
- name: community.general
|
- name: community.general
|
||||||
version: "7.1.0"
|
version: "8.6.0"
|
||||||
- name: community.postgresql
|
- name: community.postgresql
|
||||||
version: "3.0.0"
|
version: "3.4.0"
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Enable CloudWatch Agent
|
- name: Enable CloudWatch Agent
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd_service:
|
||||||
name: "amazon-cloudwatch-agent.service"
|
name: "amazon-cloudwatch-agent.service"
|
||||||
daemon_reload: true
|
daemon_reload: true
|
||||||
enabled: true
|
enabled: true
|
||||||
when: atl_aws_agent_restart | bool
|
when: atl_aws_agent_restart | bool
|
||||||
|
|
||||||
- name: Restart CloudWatch Agent
|
- name: Restart CloudWatch Agent
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd_service:
|
||||||
name: "amazon-cloudwatch-agent.service"
|
name: "amazon-cloudwatch-agent.service"
|
||||||
enabled: true
|
enabled: true
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,20 +2,16 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
# - name: ubuntu_lts
|
# - name: ubuntu_lts
|
||||||
# image: ubuntu:bionic
|
# image: ubuntu:jammy
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
inventory:
|
inventory:
|
||||||
links:
|
links:
|
||||||
group_vars: ../../../../group_vars/
|
group_vars: ../../../../group_vars/
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,20 +2,16 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
# - name: ubuntu_lts
|
# - name: ubuntu_lts
|
||||||
# image: ubuntu:bionic
|
# image: ubuntu:jammy
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
inventory:
|
inventory:
|
||||||
links:
|
links:
|
||||||
group_vars: ../../../../group_vars/
|
group_vars: ../../../../group_vars/
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,20 +2,16 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
# - name: ubuntu_lts
|
# - name: ubuntu_lts
|
||||||
# image: ubuntu:bionic
|
# image: ubuntu:jammy
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
inventory:
|
inventory:
|
||||||
links:
|
links:
|
||||||
group_vars: ../../../../group_vars/
|
group_vars: ../../../../group_vars/
|
||||||
|
|||||||
@@ -1,22 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Install AWS support packages
|
- name: Amazon Linux 2 no longer supported
|
||||||
ansible.builtin.yum:
|
fail:
|
||||||
name:
|
msg: "Amazon Linux 2 is no longer supported; see README.md for supported operating systems/environments."
|
||||||
- amazon-efs-utils
|
|
||||||
- amazon-ssm-agent
|
|
||||||
- awscli
|
|
||||||
- git
|
|
||||||
- ec2-utils
|
|
||||||
vars:
|
|
||||||
ansible_python_interpreter: /usr/bin/python2
|
|
||||||
|
|
||||||
- name: Install CloudWatch Agent
|
|
||||||
ansible.builtin.yum:
|
|
||||||
name:
|
|
||||||
- "{{ aws_cloudwatch_agent_rpm }}"
|
|
||||||
when: atl_aws_enable_cloudwatch is defined and atl_aws_enable_cloudwatch | bool
|
|
||||||
notify:
|
|
||||||
- Enable CloudWatch Agent
|
|
||||||
vars:
|
|
||||||
ansible_python_interpreter: /usr/bin/python2
|
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,28 +2,24 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
ulimits:
|
|
||||||
- nofile:262144:262144
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
ulimits:
|
ulimits:
|
||||||
- nofile:262144:262144
|
- nofile:262144:262144
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
ulimits:
|
ulimits:
|
||||||
- nofile:262144:262144
|
- nofile:262144:262144
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,28 +2,24 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
ulimits:
|
|
||||||
- nofile:262144:262144
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
ulimits:
|
ulimits:
|
||||||
- nofile:262144:262144
|
- nofile:262144:262144
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
ulimits:
|
ulimits:
|
||||||
- nofile:262144:262144
|
- nofile:262144:262144
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,22 +2,20 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,22 +2,20 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -3,22 +3,20 @@ driver:
|
|||||||
name: docker
|
name: docker
|
||||||
|
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,22 +2,20 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -10,6 +10,5 @@
|
|||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: "ln -sf /usr/share/fonts/google-noto*/* {{ item }}/"
|
cmd: "ln -sf /usr/share/fonts/google-noto*/* {{ item }}/"
|
||||||
creates: "{{ item }}/NotoSansJavanese-Regular.ttf"
|
creates: "{{ item }}/NotoSansJavanese-Regular.ttf"
|
||||||
warn: false
|
|
||||||
with_items: "{{ atl_fonts_fallback_dirs }}"
|
with_items: "{{ atl_fonts_fallback_dirs }}"
|
||||||
changed_when: false # For Molecule idempotence check
|
changed_when: false # For Molecule idempotence check
|
||||||
|
|||||||
@@ -1,17 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Install Google Noto fonts for language coverage
|
- name: Amazon Linux 2 no longer supported
|
||||||
ansible.builtin.yum:
|
fail:
|
||||||
name:
|
msg: "Amazon Linux 2 is no longer supported; see README.md for supported operating systems/environments."
|
||||||
- "google-noto-*"
|
|
||||||
vars:
|
|
||||||
ansible_python_interpreter: /usr/bin/python2
|
|
||||||
|
|
||||||
- name: Link the language fonts into the JDK
|
|
||||||
# Not idiomatic, but cleaner than messing with nested lookups...
|
|
||||||
ansible.builtin.shell:
|
|
||||||
cmd: "ln -sf /usr/share/fonts/google-noto*/* {{ item }}/"
|
|
||||||
creates: "{{ item }}/NotoSansJavanese-Regular.ttf"
|
|
||||||
warn: false
|
|
||||||
with_items: "{{ atl_fonts_fallback_dirs }}"
|
|
||||||
changed_when: false # For Molecule idempotence check
|
|
||||||
|
|||||||
@@ -10,6 +10,5 @@
|
|||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: "ln -sf /usr/share/fonts/truetype/noto/* {{ item }}/"
|
cmd: "ln -sf /usr/share/fonts/truetype/noto/* {{ item }}/"
|
||||||
creates: "{{ item }}/NotoSansJavanese-Regular.ttf"
|
creates: "{{ item }}/NotoSansJavanese-Regular.ttf"
|
||||||
warn: false
|
|
||||||
with_items: "{{ atl_fonts_fallback_dirs }}"
|
with_items: "{{ atl_fonts_fallback_dirs }}"
|
||||||
changed_when: false # For Molecule idempotence check
|
changed_when: false # For Molecule idempotence check
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,28 +2,24 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
ulimits:
|
|
||||||
- nofile:262144:262144
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
ulimits:
|
ulimits:
|
||||||
- nofile:262144:262144
|
- nofile:262144:262144
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
ulimits:
|
ulimits:
|
||||||
- nofile:262144:262144
|
- nofile:262144:262144
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,28 +2,24 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
ulimits:
|
|
||||||
- nofile:262144:262144
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
ulimits:
|
ulimits:
|
||||||
- nofile:262144:262144
|
- nofile:262144:262144
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
ulimits:
|
ulimits:
|
||||||
- nofile:262144:262144
|
- nofile:262144:262144
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,28 +2,24 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
ulimits:
|
|
||||||
- nofile:262144:262144
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
ulimits:
|
ulimits:
|
||||||
- nofile:262144:262144
|
- nofile:262144:262144
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
ulimits:
|
ulimits:
|
||||||
- nofile:262144:262144
|
- nofile:262144:262144
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,28 +2,24 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
ulimits:
|
|
||||||
- nofile:262144:262144
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
ulimits:
|
ulimits:
|
||||||
- nofile:262144:262144
|
- nofile:262144:262144
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
ulimits:
|
ulimits:
|
||||||
- nofile:262144:262144
|
- nofile:262144:262144
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,28 +2,24 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
ulimits:
|
|
||||||
- nofile:262144:262144
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
ulimits:
|
ulimits:
|
||||||
- nofile:262144:262144
|
- nofile:262144:262144
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
ulimits:
|
ulimits:
|
||||||
- nofile:262144:262144
|
- nofile:262144:262144
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,22 +2,20 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
inventory:
|
inventory:
|
||||||
links:
|
links:
|
||||||
group_vars: ../../../../group_vars/
|
group_vars: ../../../../group_vars/
|
||||||
|
|||||||
@@ -1,22 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Install Amazon-Linux-2-specific support packages
|
- name: Amazon Linux 2 no longer supported
|
||||||
ansible.builtin.yum:
|
fail:
|
||||||
name:
|
msg: "Amazon Linux 2 is no longer supported; see README.md for supported operating systems/environments."
|
||||||
- dejavu-sans-fonts
|
|
||||||
- file
|
|
||||||
- git-{{ git_version }}
|
|
||||||
- libxml2
|
|
||||||
- shadow-utils
|
|
||||||
vars:
|
|
||||||
ansible_python_interpreter: /usr/bin/python2
|
|
||||||
|
|
||||||
- name: Limit the SSH ciphers
|
|
||||||
ansible.builtin.lineinfile:
|
|
||||||
path: "/etc/ssh/sshd_config"
|
|
||||||
# Drop insecure ciphers, currently 3des-cbc only. You can get the
|
|
||||||
# full list with `sshd -T | grep -i ciphers`
|
|
||||||
regexp: '^[Cc]iphers'
|
|
||||||
line: "Ciphers chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc"
|
|
||||||
insertbefore: "BOF"
|
|
||||||
ignore_errors: yes # No sshd == no problem
|
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
register: systemd_config_changed
|
register: systemd_config_changed
|
||||||
|
|
||||||
- name: Force systemd to reload daemon configuration
|
- name: Force systemd to reload daemon configuration
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd_service:
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
when:
|
when:
|
||||||
- systemd_config_changed is defined
|
- systemd_config_changed is defined
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Install Amazon-Linux-2-specific NFS packages
|
- name: Amazon Linux 2 no longer supported
|
||||||
ansible.builtin.yum:
|
fail:
|
||||||
name:
|
msg: "Amazon Linux 2 is no longer supported; see README.md for supported operating systems/environments."
|
||||||
- nfs-utils
|
|
||||||
vars:
|
|
||||||
ansible_python_interpreter: /usr/bin/python2
|
|
||||||
|
|||||||
@@ -14,5 +14,5 @@
|
|||||||
state: link
|
state: link
|
||||||
|
|
||||||
- name: Reload systemd services
|
- name: Reload systemd services
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd_service:
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,15 +2,13 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
verifier:
|
verifier:
|
||||||
name: testinfra
|
name: testinfra
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,15 +2,13 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
verifier:
|
verifier:
|
||||||
name: testinfra
|
name: testinfra
|
||||||
|
|||||||
@@ -1,45 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Add Adoptium repo and install Eclipse Temurin JDK if necessary on Amazon Linux 2
|
- name: Amazon Linux 2 no longer supported
|
||||||
block:
|
fail:
|
||||||
|
msg: "Amazon Linux 2 is no longer supported; see README.md for supported operating systems/environments."
|
||||||
- name: Add Adoptium yum repository
|
|
||||||
ansible.builtin.yum_repository:
|
|
||||||
name: Adoptium
|
|
||||||
file: adoptium
|
|
||||||
description: Adoptium Repo
|
|
||||||
baseurl:
|
|
||||||
- "https://packages.adoptium.net/artifactory/rpm/amazonlinux/{{ ansible_distribution_version }}/{{ ansible_architecture }}"
|
|
||||||
- "{{ atl_adoptium_alternate_url is defined | ternary(atl_adoptium_alternate_url, '') }}"
|
|
||||||
gpgkey:
|
|
||||||
- https://packages.adoptium.net/artifactory/api/gpg/key/public
|
|
||||||
- "{{ atl_adoptium_gpgkey_alternate_url is defined | ternary(atl_adoptium_gpgkey_alternate_url, '') }}"
|
|
||||||
gpgcheck: yes
|
|
||||||
state: present
|
|
||||||
tags:
|
|
||||||
- molecule-idempotence-notest
|
|
||||||
|
|
||||||
- name: Install Eclipse Temurin JDK
|
|
||||||
ansible.builtin.yum:
|
|
||||||
name: "temurin-{{ java_major_version }}-jdk"
|
|
||||||
state: present
|
|
||||||
vars:
|
|
||||||
ansible_python_interpreter: /usr/bin/python2
|
|
||||||
|
|
||||||
- name: Ensure common JDK symlink exists
|
|
||||||
community.general.alternatives:
|
|
||||||
link: "/usr/lib/jvm/java"
|
|
||||||
name: "java_sdk"
|
|
||||||
path: "/usr/lib/jvm/temurin-{{ java_major_version }}-jdk"
|
|
||||||
priority: 99
|
|
||||||
|
|
||||||
when: atl_use_system_jdk | bool
|
|
||||||
tags:
|
|
||||||
- runtime_pkg
|
|
||||||
|
|
||||||
- name: Install other base packages on Amazon Linux 2
|
|
||||||
ansible.builtin.yum:
|
|
||||||
name:
|
|
||||||
- dejavu-fonts-common # Required by the installer
|
|
||||||
vars:
|
|
||||||
ansible_python_interpreter: /usr/bin/python2
|
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,22 +2,20 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,22 +2,20 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,22 +2,20 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,22 +2,20 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,22 +2,20 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,22 +2,20 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,22 +2,20 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
vvv: true
|
vvv: true
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,22 +2,20 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
vvv: true
|
vvv: true
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,22 +2,20 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,22 +2,20 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,22 +2,20 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,22 +2,20 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,22 +2,20 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,22 +2,20 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,22 +2,20 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
vv: true
|
vv: true
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,22 +2,20 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
vv: true
|
vv: true
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,22 +2,20 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
vv: true
|
vv: true
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,28 +2,24 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
ulimits:
|
|
||||||
- nofile:262144:262144
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
ulimits:
|
ulimits:
|
||||||
- nofile:262144:262144
|
- nofile:262144:262144
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
ulimits:
|
ulimits:
|
||||||
- nofile:262144:262144
|
- nofile:262144:262144
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,28 +2,24 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
ulimits:
|
|
||||||
- nofile:262144:262144
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
ulimits:
|
ulimits:
|
||||||
- nofile:262144:262144
|
- nofile:262144:262144
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
ulimits:
|
ulimits:
|
||||||
- nofile:262144:262144
|
- nofile:262144:262144
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,28 +2,24 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
ulimits:
|
|
||||||
- nofile:262144:262144
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
ulimits:
|
ulimits:
|
||||||
- nofile:262144:262144
|
- nofile:262144:262144
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
ulimits:
|
ulimits:
|
||||||
- nofile:262144:262144
|
- nofile:262144:262144
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
ATL_STARTUP_RESTART: "false"
|
ATL_STARTUP_RESTART: "false"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ FROM {{ item.registry.url }}/{{ item.image }}
|
|||||||
FROM {{ item.image }}
|
FROM {{ item.image }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
|
RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python3 sudo bash ca-certificates file && apt-get clean; \
|
||||||
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
|
elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python3.11 sudo python3.11-devel python*-dnf bash && dnf clean all; \
|
||||||
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
|
||||||
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
|
||||||
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
|
||||||
|
|||||||
@@ -2,28 +2,24 @@
|
|||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
- name: amazon_linux2
|
|
||||||
image: amazonlinux:2
|
|
||||||
groups:
|
|
||||||
- aws_node_local
|
|
||||||
ulimits:
|
|
||||||
- nofile:262144:262144
|
|
||||||
- name: amazon_linux2023
|
- name: amazon_linux2023
|
||||||
image: amazonlinux:2023
|
image: amazonlinux:2023
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
ulimits:
|
ulimits:
|
||||||
- nofile:262144:262144
|
- nofile:262144:262144
|
||||||
- name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
image: ubuntu:bionic
|
image: ubuntu:jammy
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
|
platform: linux/amd64
|
||||||
ulimits:
|
ulimits:
|
||||||
- nofile:262144:262144
|
- nofile:262144:262144
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
env:
|
env:
|
||||||
ANSIBLE_COLLECTIONS_PATH: "../../"
|
ANSIBLE_COLLECTIONS_PATH: "../../../../"
|
||||||
options:
|
options:
|
||||||
skip-tags: runtime_pkg
|
skip-tags: runtime_pkg
|
||||||
inventory:
|
inventory:
|
||||||
|
|||||||
Reference in New Issue
Block a user