From: Lexie Malina Date: Wed, 16 Aug 2023 22:40:33 +0000 (-0400) Subject: functioning update playbook X-Git-Url: https://git.t-ch.net/?a=commitdiff_plain;h=eaec9b5a75d7c32d2899b9d4f0c61afdb8fd89ab;p=malyna-ansible.git functioning update playbook --- diff --git a/ansible.cfg b/ansible.cfg index b2f0e3b..1e36e6f 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -525,7 +525,7 @@ ;become_ask_pass=False # (string) executable to use for privilege escalation, otherwise Ansible will depend on PATH -become_exe=doas +become_exe = doas # (string) Flags to pass to the privilege escalation executable. ;become_flags= diff --git a/update_system.ansible.yaml b/update_system.ansible.yaml index f87bb91..415d3a0 100644 --- a/update_system.ansible.yaml +++ b/update_system.ansible.yaml @@ -2,9 +2,11 @@ - name: Update system hosts: malyna + vars: + ansible_become_method: doas tasks: - name: Update apk packages & cache become: true apk: update_cache: true - upgrade: true \ No newline at end of file + upgrade: true