3 changed files with 25 additions and 17 deletions
@ -1,15 +1,16 @@ |
|||||
brandine |
all: |
||||
clancy |
hosts: |
||||
martin |
brandine: |
||||
quimby |
clancy: |
||||
|
martin: |
||||
[all:vars] |
quimby: |
||||
gather_facts |
kirk: |
||||
ansible_python_interpreter=/usr/bin/python3 |
willie: |
||||
ansible_connection=ssh |
vars: |
||||
ansible_user=deploy |
ansible_python_interpreter: /usr/bin/python3 |
||||
ansible_sudo=true |
ansible_connection: ssh |
||||
ansible_become=true |
ansible_sudo: true |
||||
ansible_user = pi |
ansible_become: true |
||||
ansible_ssh_common_args='-o StrictHostKeyChecking=no' |
ansible_user: pi |
||||
ansible_ssh_private_key_file=~/.ssh/id_rsa |
ansible_ssh_common_args: '-o StrictHostKeyChecking=no' |
||||
|
ansible_ssh_private_key_file: ~/.ssh/id_rsa |
||||
|
@ -1,4 +1,10 @@ |
|||||
- name: PIs aktualisieren |
- name: PIs aktualisieren |
||||
command: /usr/bin/sh ~/bin/updatesys |
# command: /usr/bin/sh ~/bin/updatesys |
||||
become_user: pi |
# become_user: pi |
||||
|
become: true |
||||
|
apt: |
||||
|
upgrade: dist |
||||
|
update_cache: yes |
||||
|
cache_valid_time: 86400 |
||||
|
autoremove: yes |
||||
|
|
||||
|
Loading…
Reference in new issue