diff --git a/ansible.cfg b/ansible.cfg index 55f3120..a304a97 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,3 +1,4 @@ [defaults] inventory=inventory private_key_file=~/.ssh/id_ed25519 +remote_user=ansible \ No newline at end of file diff --git a/inventory b/inventory index f2ed031..de39a5a 100644 --- a/inventory +++ b/inventory @@ -10,17 +10,10 @@ pihole [pve] proxmox -[pve:vars] -ansible_user=root [vm] microk8s nginx -[vm:vars] -ansible_user=tiijay [vserver] ionos-ubuntu-01 -[vserver:vars] -ansible_user=root - diff --git a/system-upgrade.yml b/system-upgrade.yml index 581139e..a92955f 100644 --- a/system-upgrade.yml +++ b/system-upgrade.yml @@ -5,5 +5,6 @@ tasks: - name: update respository index - apt: + ansible.builtin.package: update_cache: yes + \ No newline at end of file