[P2] update_upgrade.yml targets all hosts — includes local Ansible machine #7

Closed
opened 2026-03-22 18:04:11 +00:00 by jeet · 0 comments
Owner

Problem

- hosts: all

The inventory includes an AnsibleHost group with ansible_connection: local. Running update_upgrade.yml with default targeting will run a full system upgrade on your local Ansible machine alongside all remote hosts.

Fix

- hosts: "all:!AnsibleHost"

File: playbooks/update_upgrade.yml

## Problem ```yaml - hosts: all ``` The inventory includes an `AnsibleHost` group with `ansible_connection: local`. Running `update_upgrade.yml` with default targeting will run a full system upgrade on your local Ansible machine alongside all remote hosts. ## Fix ```yaml - hosts: "all:!AnsibleHost" ``` **File:** `playbooks/update_upgrade.yml`
jeet closed this issue 2026-03-22 18:14:34 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jeet/OCI_Build#7