6 changed files with 41 additions and 0 deletions
@ -0,0 +1,6 @@ |
|||||
|
[defaults] |
||||
|
inventory = hosts |
||||
|
|
||||
|
[ssh_connection] |
||||
|
ssh_args = -o StrictHostKeyChecking=no |
||||
|
|
@ -0,0 +1,14 @@ |
|||||
|
brandine |
||||
|
clancy |
||||
|
martin |
||||
|
|
||||
|
[all:vars] |
||||
|
gather_facts |
||||
|
ansible_python_interpreter=/usr/bin/python3 |
||||
|
ansible_connection=ssh |
||||
|
ansible_user=deploy |
||||
|
ansible_sudo=true |
||||
|
ansible_become=true |
||||
|
ansible_user = pi |
||||
|
ansible_ssh_common_args='-o StrictHostKeyChecking=no' |
||||
|
ansible_ssh_private_key_file=~/.ssh/id_rsa |
@ -0,0 +1,7 @@ |
|||||
|
[all:vars] |
||||
|
ansible_connection=ssh |
||||
|
ansible_user=deploy |
||||
|
ansible_sudo=true |
||||
|
ansible_become=true |
||||
|
ansible_user = pi |
||||
|
ansible_ssh_common_args='-o StrictHostKeyChecking=no' |
@ -0,0 +1,3 @@ |
|||||
|
all: |
||||
|
hosts: |
||||
|
clancy |
@ -0,0 +1,4 @@ |
|||||
|
- name: PIs aktualisieren |
||||
|
command: /usr/bin/sh ~/bin/updatesys |
||||
|
become_user: pi |
||||
|
|
@ -0,0 +1,7 @@ |
|||||
|
--- |
||||
|
- hosts: "{{ target }}" |
||||
|
gather_facts: false |
||||
|
remote_user: pi |
||||
|
roles: |
||||
|
- updatepi |
||||
|
|
Loading…
Reference in new issue