diff --git a/hosts/all.yaml b/hosts/all.yaml index 1ed05505285634fcb6549389b880bde867551b1c..220ebc4816b720b0e7f700e5144f2b0a18efa382 100644 --- a/hosts/all.yaml +++ b/hosts/all.yaml @@ -14,6 +14,10 @@ all: ansible_host: ea6350.shore.co.il host01: ansible_host: host01.shore.co.il + localhost: + ansible_host: localhost + ansible_become: false + ansible_connection: local vars: # Force usage of Python3. ansible_become: true diff --git a/update.yaml b/update.yaml index 92078a310a1de9ccf5f951a5e4cae8024f896dd9..ec8b786099f75ffbf8cd3cf15738da6f01377640 100644 --- a/update.yaml +++ b/update.yaml @@ -1,7 +1,7 @@ --- - name: Group hosts by package manager hosts: - - all + - all:!localhost tasks: - name: Group hosts by package manager group_by: