become method defined at host level
parent
e6690ae2d1
commit
91a5a975e1
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue