[P2] update_upgrade.yml targets all hosts — includes local Ansible machine #7
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The inventory includes an
AnsibleHostgroup withansible_connection: local. Runningupdate_upgrade.ymlwith default targeting will run a full system upgrade on your local Ansible machine alongside all remote hosts.Fix
File:
playbooks/update_upgrade.yml