diff --git a/deploy.yml b/deploy.yml index b8a3fc1..44cd63c 100644 --- a/deploy.yml +++ b/deploy.yml @@ -2,7 +2,6 @@ - name: snitch deployment hosts: snitch become: true - become_method: doas roles: - basic - users @@ -21,7 +20,6 @@ - name: caladan deployment hosts: caladan become: true - become_method: doas roles: - basic - users @@ -38,7 +36,6 @@ - name: narwhal deployment hosts: narwhal become: true - become_method: sudo roles: - basic - users @@ -53,7 +50,6 @@ - name: fugu deployment hosts: fugu become: true - become_method: doas roles: - basic - users diff --git a/hosts.yml b/hosts.yml index 29bfda6..a60d97c 100644 --- a/hosts.yml +++ b/hosts.yml @@ -7,21 +7,25 @@ all: ansible_user: ansible ansible_port: 22 ansible_python_interpreter: /usr/bin/python3 + ansible_become_method: doas caladan: ansible_host: caladan ansible_user: ansible ansible_port: 22 ansible_python_interpreter: /usr/bin/python3 + ansible_become_method: doas narwhal: ansible_host: narwhal ansible_user: ansible ansible_port: 22 ansible_python_interpreter: /usr/bin/python3 + ansible_become_method: sudo fugu: ansible_host: fugu ansible_user: ansible ansible_port: 22 ansible_python_interpreter: /usr/local/bin/python3 + ansible_become_method: doas