Become connection working
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
ansible_become_method: ansible.builtin.sudo
|
||||
ansible_sudo_user: root
|
||||
ansible_sudo_pass: "{{ lookup('community.general.passwordstore', 'ansible/become-password') }}"
|
||||
@@ -0,0 +1,4 @@
|
||||
ansible_connection: ansible.builtin.ssh
|
||||
ansible_ssh_host: ch01.balsillie.house
|
||||
ansible_ssh_port: 22
|
||||
ansible_ssh_user: ladmin
|
||||
@@ -0,0 +1,5 @@
|
||||
all:
|
||||
children:
|
||||
container_hosts:
|
||||
hosts:
|
||||
ch01.balsillie.house:
|
||||
Reference in New Issue
Block a user