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