Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ansible/inventory/group_vars/all/infra-vms
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ infra_vm_users: "{{ users_default }}"
infra_vm_containers: {}

# Whether to attempt a basic authentication login to a registry when
# deploying Infrastructure VM node containers
# deploying infrastructure VM node containers
infra_vm_manage_containers_registry_attempt_login: "{{ kolla_docker_registry_username is truthy and kolla_docker_registry_password is truthy }}"

###############################################################################
Expand Down
4 changes: 2 additions & 2 deletions dev/functions
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,15 @@ function config_init {

function is_dnf {
if [[ -e /etc/centos-release || -e /etc/rocky-release ]]; then
/usr/bin/which dnf >/dev/null 2>&1
command -v dnf >/dev/null 2>&1
else
return 1
fi
}

function is_yum {
if [[ -e /etc/centos-release || -e /etc/rocky-release ]]; then
/usr/bin/which yum >/dev/null 2>&1
command -v yum >/dev/null 2>&1
else
return 1
fi
Expand Down
2 changes: 1 addition & 1 deletion etc/kayobe/ansible-control.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@

# Dict of containers to deploy.
# Example:
# seed_containers:
# ansible_control_containers:
# squid:
# image: "docker.io/stackhpc/squid"
# pre: "{{ kayobe_env_config_path }}/containers/squid/pre.yml"
Expand Down
2 changes: 1 addition & 1 deletion etc/kayobe/infra-vms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
#infra_vm_containers:

# Whether to attempt a basic authentication login to a registry when
# deploying controller containers
# deploying infrastructure VM node containers
#infra_vm_manage_containers_registry_attempt_login:

###############################################################################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ ansible_control_fail2ban_enabled: true
custom_etc_hosts_entries:
foo.example.com: 127.0.0.88

# Deploy a hello-world container.
# Deploy a test container.
ansible_control_containers:
hello-world:
image: docker.io/library/hello-world
tag: latest
node_exporter:
image: "quay.io/prometheus/node-exporter"
tag: "latest"
8 changes: 4 additions & 4 deletions playbooks/kayobe-overcloud-base/overrides.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ kolla_base_distro: "{% raw %}{{ 'rocky' if os_distribution == 'centos' else os_d
# Support overriding container_engine
container_engine: "{{ container_engine }}"

# Deploy a hello-world container.
# Deploy a test container.
controller_containers:
hello-world:
image: docker.io/library/hello-world
tag: latest
node_exporter:
image: "quay.io/prometheus/node-exporter"
tag: "latest"
2 changes: 1 addition & 1 deletion playbooks/kayobe-overcloud-base/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

- name: Check that hello-world custom container was deployed
shell:
cmd: "sudo {{ container_engine | default('docker') }} ps -a | grep hello-world"
cmd: "sudo {{ container_engine | default('docker') }} ps -a | grep node-exporter"
executable: /bin/bash
when: deploy_custom_container | default(false)

Expand Down